Upgrade to be able to run on PHp7
This commit is contained in:
parent
b9e04c6ca3
commit
4265af9338
5 changed files with 29 additions and 28 deletions
|
@ -17,7 +17,7 @@ class PageController extends Katharsis_Controller_Abstract
|
|||
}
|
||||
|
||||
$url = substr($method, 0, -6); // remove Action from urlAction
|
||||
|
||||
|
||||
$pageId = $this->_page->getIdByUrl($url, $preview);
|
||||
|
||||
if(!$pageId) {
|
||||
|
@ -37,4 +37,4 @@ class PageController extends Katharsis_Controller_Abstract
|
|||
echo $this->_view->render('main');
|
||||
die();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue