Merge branch 'master' of github.com:jeena/seinheit.ch

This commit is contained in:
Logsol 2013-07-17 16:05:08 +02:00
commit 775a1a7a71
8 changed files with 52 additions and 21 deletions

View file

@ -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()

View file

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