12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
- ClassLoader::addDirectories(array(
- app_path().'/commands',
- app_path().'/controllers',
- app_path().'/models',
- app_path().'/database/seeds',
- ));
- $logFile = 'log-'.php_sapi_name().'.txt';
- Log::useDailyFiles(storage_path().'/logs/'.$logFile);
- App::error(function(Exception $exception, $code)
- {
- Log::error($exception);
- });
- require __DIR__.'/../filters.php';
|