Merge branch 'master' of github.com:jeena/seinheit.ch
This commit is contained in:
commit
775a1a7a71
8 changed files with 52 additions and 21 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