We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33ea14c + c83f671 commit c3e8024Copy full SHA for c3e8024
src/BrefServiceProvider.php
@@ -45,7 +45,12 @@ public function register()
45
46
Config::set('trustedproxy.proxies', ['0.0.0.0/0', '2000:0:0:0:0:0:0:0/3']);
47
48
- Config::set('view.compiled', StorageDirectories::Path . '/framework/views');
+ // If the views were not compiled yet, move them to a writable directory
49
+ $currentCompiledPath = Config::get('view.compiled');
50
+ if (! is_string($currentCompiledPath) || ! is_dir($currentCompiledPath)) {
51
+ Config::set('view.compiled', StorageDirectories::Path . '/framework/views');
52
+ }
53
+
54
Config::set('cache.stores.file.path', StorageDirectories::Path . '/framework/cache');
55
56
$this->fixAwsCredentialsConfig();
0 commit comments