// Routes for dispatcher (part 2)
This commit is contained in:
1 parent
611b180b82
commit
3a97b4b6f3
5 files changed
+80
-65
No files matched your search
+1
-1
@@ -51,7 +51,7 @@ class PageCore extends ObjectModel
|
||||
*/
|
||||
public static function getCurrentId()
|
||||
{
|
||||
$controller = Dispatcher::$controller;
|
||||
$controller = Dispatcher::getInstance()->getController();
|
||||
$pageTypeID = Page::getPageTypeByName($controller);
|
||||
|
||||
// Some pages must be distinguished in order to record exactly what is being seen
|
||||
|
||||
Reference in new issue
Block a user