Add storage path configuration.

This commit is contained in:
Taylor Otwell 2013-03-26 09:23:41 -05:00
parent 25a84bc000
commit 17b199b6f6
2 changed files with 14 additions and 1 deletions

View File

@ -32,7 +32,7 @@
$logFile = 'log-'.php_sapi_name().'.txt';
Log::useDailyFiles(__DIR__.'/../storage/logs/'.$logFile);
Log::useDailyFiles(storage_path().'/logs/'.$logFile);
/*
|--------------------------------------------------------------------------

View File

@ -41,4 +41,17 @@
'base' => __DIR__.'/..',
/*
|--------------------------------------------------------------------------
| Storage Path
|--------------------------------------------------------------------------
|
| The storage path is used by Laravel to store cached Blade views, logs
| and other pieces of information. You may modify the path here when
| you want to change the location of this directory for your apps.
|
*/
'storage' => __DIR__.'/../app/storage',
);