// Routes for dispatcher (part 2)

This commit is contained in:
rMalie
2011-07-25 20:16:53 +00:00
parent 611b180b82
commit 3a97b4b6f3
5 changed files with 80 additions and 65 deletions
+1 -1
View File
@@ -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