Updated installer

Added Website and Game models
Updted config loading

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
Gregory PLANCHAT 2011-12-15 22:10:35 +01:00
commit 5393be4daf
39 changed files with 779 additions and 661 deletions

View file

@ -76,11 +76,9 @@ LEFT JOIN {{table}}planets AS planets ON planets.id_owner=users.id
WHERE users.id={$id}
EOF;
$config = Wootook_Core_Model_Config::getSingleton();
$data = array_merge(
array(
'game_name' => $config['game_name'],
'game_name' => Wootook::getGameConfig('game/general/name'),
'date' => date('d M Y')
),
doquery($sql, '', true)