settings.php.dist 800 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<?php

return [
    'settings' => [
        'displayErrorDetails' => true, // set to false in production
        'addContentLengthHeader' => false, // Allow the web server to send the content-length header
        // Renderer settings
        'renderer' => [
            'template_path' => __DIR__ . '/../templates/',
        ],
        // Monolog settings
        'logger' => [
            'name' => 'slim-app',
            'path' => __DIR__ . '/../logs/app.log',
            'level' => \Monolog\Logger::DEBUG,
        ],
        // 
        // app custom settings 
        'ldap' => [
            'connectionString' => 'ldap://my.ldap.server',
            'domain' => null, // if AD, provide domain name for login
            'baseSearchDN' => 'cn=Users,dc=YOURCOMPANY,dc=COM',
        ]
    ],
];