<?php
function appConfig() {
    return [
        'displayErrorDetails' => true,
        'logger' => [
            'name' => 'slim-app',
            'path' => __DIR__ . '/../logs/app.log',
        ],
        'upload' => [
            'path' => __DIR__ . '/uploads',
        ],
        'db' => [
            'host' => 'localhost',
            'port' => '3306',
            'dbname' => 'devel_13',
            'user' => 'devel',
            'password' => 'devel',
        ],
        'api' => [
            'address' => 'http://46.102.175.8',
            'port' => '8080',
            'email' => 'admin@rl.ro',
            'password' => 'admin',
            'cookieFile' => '/tmp/rofusion.txt',
            'certificate' => ''
        ],
        'payments' => [
            'name' => 'Ro fusion',
            'url' => 'http://sandboxsecure.mobilpay.ro',
            'signature' => 'LTS9-WTDL-P1EF-QKNF-11VL',
            'redirectUrl' => 'http://public13.webas.ro/finalizare',
            'backref' => 'http://public13.webas.ro/confirm-payment',
            'desc' => 'Anunturi',
            'currency' => 'RON',
            'publicCertificate' => __DIR__ . '/sandbox.LTS9-WTDL-P1EF-QKNF-11VL.public.cer',
            'privateCertificate' => __DIR__ . '/sandbox.LTS9-WTDL-P1EF-QKNF-11VLprivate.key'
        ],
        'admin' => [
            'email' => 'cc2@activemall.ro'
        ],
        'smtp' => [
            "host" => "smtp.gmail.com",
            "username" => "mp941027@gmail.com",
            "password" => "Mandagas1",
            "secure" => "tls",
            "port" => 587,
        ],
        'jenuPublication' => 20
    ];
}
