Updated config management

Updated install

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
Gregory PLANCHAT 2011-12-14 23:45:09 +01:00
commit fcd1f5b740
58 changed files with 1579 additions and 1695 deletions

View file

@ -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>";
}