Added building/research-lab/shipyard/defenses MVC controllers
Refactored View & Model base classes Added database adapter error messages and status utility methods Fixed login error Fixed HTTP 404 error on home page Fixed minor bugs Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
802be5f8c3
commit
3dde300c80
65 changed files with 1242 additions and 646 deletions
|
|
@ -536,7 +536,7 @@ function display($page, $title = '', $topnav = true, $metatags = '', $adminPage
|
|||
}
|
||||
|
||||
$content = $layout->getBlock('content');
|
||||
if (!$content instanceof Wootook_Core_View) {
|
||||
if (!$content instanceof Wootook_Core_Mvc_View_View) {
|
||||
exit(0);
|
||||
}
|
||||
$pageContent = $layout->createBlock('core/text', 'content');
|
||||
|
|
@ -670,4 +670,4 @@ function ResetThisFuckingCheater($userId)
|
|||
$user->setData('password', $password);
|
||||
$user->save();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue