mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
check if loading the settings.xml succeeded
This commit is contained in:
parent
0f038e2d57
commit
e490c1a0f2
|
@ -311,7 +311,10 @@ class Settings { /* {{{ */
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->load($configFilePath);
|
if(!$this->load($configFilePath)) {
|
||||||
|
echo "Your configuration contains errors.";
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
if (!is_null($this->_maxExecutionTime))
|
if (!is_null($this->_maxExecutionTime))
|
||||||
ini_set("max_execution_time", $this->_maxExecutionTime);
|
ini_set("max_execution_time", $this->_maxExecutionTime);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user