123456789101112131415161718 |
- <?php
- use Silex\Provider\MonologServiceProvider;
- use Silex\Provider\WebProfilerServiceProvider;
- // include the prod configuration
- require __DIR__ . '/prod.php';
- // enable the debug mode
- $app['debug'] = true;
- $app->register(new MonologServiceProvider(), [
- 'monolog.logfile' => __DIR__ . '/../var/logs/silex_dev.log',
- ]);
- $app->register(new WebProfilerServiceProvider(), [
- 'profiler.cache_dir' => __DIR__ . '/../var/cache/profiler',
- ]);
|