mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Reset the opcache after install (#14098)
* Reset the opcache after install Follow up to #14097 * clear the config, will be cached again on daily anyway
This commit is contained in:
@@ -83,7 +83,11 @@ class FinalizeController extends InstallationController implements InstallerStep
|
||||
base_path('.env')
|
||||
);
|
||||
|
||||
\Artisan::call('config:cache'); // make sure to update config in case it is cached
|
||||
// make sure the new env is reflected live
|
||||
\Artisan::call('config:clear');
|
||||
if (function_exists('opcache_reset')) {
|
||||
opcache_reset();
|
||||
}
|
||||
|
||||
return $env;
|
||||
}
|
||||
|
Reference in New Issue
Block a user