// Routes for dispatcher (part 2)

This commit is contained in:
rMalie committed 2011-07-25 20:16:53 +00:00
1 parent 611b180b82
commit 3a97b4b6f3
5 files changed
+80 -65

No files matched your search

+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