Add storage path configuration.
This commit is contained in:
@@ -32,7 +32,7 @@ ClassLoader::addDirectories(array(
|
||||
|
||||
$logFile = 'log-'.php_sapi_name().'.txt';
|
||||
|
||||
Log::useDailyFiles(__DIR__.'/../storage/logs/'.$logFile);
|
||||
Log::useDailyFiles(storage_path().'/logs/'.$logFile);
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -41,4 +41,17 @@ return array(
|
||||
|
||||
'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',
|
||||
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user