Skip to content

Commit

Permalink
FIX: Blade cache shared on development
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacarpet committed Nov 8, 2022
1 parent fef8fc4 commit 9607183
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ function gae_storage_path($path = '')
{
if (is_gae() || defined('IS_GAE')) {
$ret = '/tmp/laravel/storage'.($path ? DIRECTORY_SEPARATOR.$path : $path);
@mkdir($ret, 0o755, true);
if (is_gae_development()) {
$ret = '/tmp/laravel/'.$_SERVER['HTTP_HOST'].'/storage'.($path ? DIRECTORY_SEPARATOR.$path : $path);
}
@mkdir($ret, 0755, true);

return $ret;
}
Expand Down

0 comments on commit 9607183

Please sign in to comment.