Kaydet (Commit) 570bd156 authored tarafından Baran Sekin's avatar Baran Sekin

Fixed setEnv config clear bug

üst 54ba52ea
......@@ -175,7 +175,8 @@ if (!function_exists('settingsModuleButtons')) {
}
if (!function_exists('getLimanHostname')) {
function getLimanHostname(){
function getLimanHostname()
{
return trim(`hostname`);
}
}
......@@ -726,7 +727,7 @@ if (!function_exists('setEnv')) {
if (!file_put_contents($envFile, $str)) {
return false;
}
Artisan::call('cache:clear');
shell_exec('php /liman/server/artisan config:clear');
return true;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment