Add storage path configuration.
This commit is contained in:
parent
25a84bc000
commit
17b199b6f6
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
$logFile = 'log-'.php_sapi_name().'.txt';
|
$logFile = 'log-'.php_sapi_name().'.txt';
|
||||||
|
|
||||||
Log::useDailyFiles(__DIR__.'/../storage/logs/'.$logFile);
|
Log::useDailyFiles(storage_path().'/logs/'.$logFile);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
@ -41,4 +41,17 @@
|
||||||
|
|
||||||
'base' => __DIR__.'/..',
|
'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',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue