diff --git a/app/start/global.php b/app/start/global.php index d9bd0b9c..414fe48c 100644 --- a/app/start/global.php +++ b/app/start/global.php @@ -32,7 +32,7 @@ $logFile = 'log-'.php_sapi_name().'.txt'; -Log::useDailyFiles(__DIR__.'/../storage/logs/'.$logFile); +Log::useDailyFiles(storage_path().'/logs/'.$logFile); /* |-------------------------------------------------------------------------- diff --git a/bootstrap/paths.php b/bootstrap/paths.php index 19f47434..5a1f640b 100644 --- a/bootstrap/paths.php +++ b/bootstrap/paths.php @@ -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', + );