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