Updated config management
Updated install Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
4bb4693d2e
commit
fcd1f5b740
58 changed files with 1579 additions and 1695 deletions
|
|
@ -127,9 +127,7 @@ EOF;
|
|||
*/
|
||||
public function error($message, $title)
|
||||
{
|
||||
$gameConfig = Legacies_Core_Model_Config::getSingleton();
|
||||
|
||||
if ($gameConfig['debug'] == 1) {
|
||||
if (defined('DEBUG')) {
|
||||
echo "<h2>$title</h2><br><font color=red>$message</font><br><hr>";
|
||||
echo "<table>".$this->log."</table>";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue