summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index ca3257e..166f2c9 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -243,6 +243,7 @@ function parse_config($parse = false) {
global $g, $config_parsed;
$lockkey = lock('config');
+ $config_parsed == false;
if (!file_exists("{$g['conf_path']}/config.xml") || filesize("{$g['conf_path']}/config.xml") == 0) {
$last_backup = discover_last_backup();
if($last_backup) {
@@ -302,9 +303,9 @@ function parse_config($parse = false) {
}
if($g['booting']) echo ".";
alias_make_table($config);
+ $config_parsed = true;
unlock($lockkey);
- $config_parsed = true;
return $config;
}
@@ -1314,4 +1315,4 @@ if($config_parsed == true) {
}
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud