Update extconfigs.class.php
This commit is contained in:
parent
477eb69146
commit
be5890e61f
|
@ -304,9 +304,11 @@ class extconfigs
|
|||
}
|
||||
}
|
||||
// rewrite adv_ini to reflect the new $adv_config
|
||||
if (!empty($adv_ini)) {
|
||||
if (file_exists($adv_ini)){
|
||||
rename($adv_ini, "{$adv_ini}.old");
|
||||
}
|
||||
}
|
||||
if (!empty($adv_ini)) {
|
||||
$indexFile = fopen($adv_ini,'w');
|
||||
fwrite($indexFile, "[main]\n");
|
||||
|
|
Loading…
Reference in a new issue