global.php 616 Bytes
Newer Older
Vassilis Kanellopoulos's avatar
Vassilis Kanellopoulos committed
1
<?php return [
2
3
4
5
6
7
8
9
10
11
    // Slim Settings
    'determineRouteBeforeAppMiddleware' => false,
    'displayErrorDetails'               => false,
    // View settings
    'view' => [
        'template_path' => __DIR__ . '/../app/templates',
        'twig'          => [
            'cache'       => __DIR__ . '/../data/cache/twig',
            'debug'       => true,
            'auto_reload' => true,
Vassilis Kanellopoulos's avatar
Vassilis Kanellopoulos committed
12
13
        ],
    ],
14
15
16
17
18
    // monolog settings
    'logger' => [
        'name' => 'app',
        'path' => __DIR__ . '/../data/log/' . (isset($_SERVER['SERVER_ADDR']) ? $_SERVER['SERVER_ADDR'] . '/' : '') . 'app.log',
    ],
Vassilis Kanellopoulos's avatar
Vassilis Kanellopoulos committed
19
];