From da7443abbaeb059035e337239829bdbb519cbf0d Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 2 Oct 2014 19:36:03 -0500 Subject: [PATCH] Tweak some paths. --- app/Providers/LogServiceProvider.php | 2 +- config/app.php | 2 +- config/cache.php | 2 +- config/session.php | 2 +- config/view.php | 13 +++++++++++++ storage/framework/.gitignore | 3 +++ storage/{ => framework}/cache/.gitignore | 0 storage/{logs => framework/sessions}/.gitignore | 0 storage/{sessions => framework/views}/.gitignore | 0 storage/meta/.gitignore | 4 ---- storage/views/.gitignore | 2 -- storage/work/.gitkeep | 0 12 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 storage/framework/.gitignore rename storage/{ => framework}/cache/.gitignore (100%) rename storage/{logs => framework/sessions}/.gitignore (100%) rename storage/{sessions => framework/views}/.gitignore (100%) delete mode 100644 storage/meta/.gitignore delete mode 100644 storage/views/.gitignore delete mode 100644 storage/work/.gitkeep diff --git a/app/Providers/LogServiceProvider.php b/app/Providers/LogServiceProvider.php index 7751cbd0..5aa9aa1c 100644 --- a/app/Providers/LogServiceProvider.php +++ b/app/Providers/LogServiceProvider.php @@ -12,7 +12,7 @@ class LogServiceProvider extends ServiceProvider { */ public function boot(Log $log) { - $log->useFiles(storage_path().'/logs/laravel.log'); + $log->useFiles(storage_path().'/laravel.log'); } /** diff --git a/config/app.php b/config/app.php index d82d1384..330dd95a 100644 --- a/config/app.php +++ b/config/app.php @@ -143,7 +143,7 @@ | */ - 'manifest' => storage_path().'/meta', + 'manifest' => storage_path().'/framework', /* |-------------------------------------------------------------------------- diff --git a/config/cache.php b/config/cache.php index e344f799..5363ffa1 100644 --- a/config/cache.php +++ b/config/cache.php @@ -28,7 +28,7 @@ | */ - 'path' => storage_path().'/cache', + 'path' => storage_path().'/framework/cache', /* |-------------------------------------------------------------------------- diff --git a/config/session.php b/config/session.php index 41e1dc1f..6af184e7 100644 --- a/config/session.php +++ b/config/session.php @@ -44,7 +44,7 @@ | */ - 'files' => storage_path().'/sessions', + 'files' => storage_path().'/framework/sessions', /* |-------------------------------------------------------------------------- diff --git a/config/view.php b/config/view.php index f5dfa0fd..39777150 100644 --- a/config/view.php +++ b/config/view.php @@ -15,6 +15,19 @@ 'paths' => [base_path().'/resources/views'], + /* + |-------------------------------------------------------------------------- + | Compiled View Path + |-------------------------------------------------------------------------- + | + | This option determines where all the compiled Blade templates will be + | stored for your application. Typically, this is within the storage + | directory. However, as usual, you are free to change this value. + | + */ + + 'compiled' => storage_path().'/framework/views', + /* |-------------------------------------------------------------------------- | Pagination View diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore new file mode 100644 index 00000000..d235804e --- /dev/null +++ b/storage/framework/.gitignore @@ -0,0 +1,3 @@ +routes.php +compiled.php +services.json \ No newline at end of file diff --git a/storage/cache/.gitignore b/storage/framework/cache/.gitignore similarity index 100% rename from storage/cache/.gitignore rename to storage/framework/cache/.gitignore diff --git a/storage/logs/.gitignore b/storage/framework/sessions/.gitignore similarity index 100% rename from storage/logs/.gitignore rename to storage/framework/sessions/.gitignore diff --git a/storage/sessions/.gitignore b/storage/framework/views/.gitignore similarity index 100% rename from storage/sessions/.gitignore rename to storage/framework/views/.gitignore diff --git a/storage/meta/.gitignore b/storage/meta/.gitignore deleted file mode 100644 index fe030f7e..00000000 --- a/storage/meta/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -compiled.php -services.json -routes.php -services.php diff --git a/storage/views/.gitignore b/storage/views/.gitignore deleted file mode 100644 index c96a04f0..00000000 --- a/storage/views/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore \ No newline at end of file diff --git a/storage/work/.gitkeep b/storage/work/.gitkeep deleted file mode 100644 index e69de29b..00000000