Update extconfigs.class.php

This commit is contained in:
steve-lad 2021-07-20 12:55:23 +02:00
parent 477eb69146
commit be5890e61f

View file

@ -304,8 +304,10 @@ class extconfigs
}
}
// rewrite adv_ini to reflect the new $adv_config
if (file_exists($adv_ini)){
rename($adv_ini, "{$adv_ini}.old");
if (!empty($adv_ini)) {
if (file_exists($adv_ini)){
rename($adv_ini, "{$adv_ini}.old");
}
}
if (!empty($adv_ini)) {
$indexFile = fopen($adv_ini,'w');