typo
This commit is contained in:
parent
85598a0d85
commit
e43fde0d7d
7 changed files with 44 additions and 29 deletions
|
|
@ -3,7 +3,7 @@ class AdminController extends Katharsis_Controller_Abstract
|
|||
{
|
||||
public function indexAction()
|
||||
{
|
||||
if(!Access::isLogged()) $this->_location('gate');
|
||||
if(!Access::isLoggedIn()) $this->_location('gate');
|
||||
}
|
||||
|
||||
public function gateAction()
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ class PageController extends Katharsis_Controller_Abstract
|
|||
public function __call($method, $args)
|
||||
{
|
||||
$preview = false;
|
||||
if(array_key_exists('preview', $this->_getAllParams()) && Access::isLogged())
|
||||
if(array_key_exists('preview', $this->_getAllParams()) && Access::isLoggedIn())
|
||||
{
|
||||
$preview = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue