diff options
Diffstat (limited to 'core/FrontController.php')
-rw-r--r-- | core/FrontController.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/FrontController.php b/core/FrontController.php index 411c13d428..055f4058aa 100644 --- a/core/FrontController.php +++ b/core/FrontController.php @@ -121,8 +121,7 @@ class Piwik_FrontController { $action = $controller->getDefaultAction(); } - -// Piwik::log("Dispatching $module / $action, parameters: ".var_export($parameters, $return = true)); + if( !is_callable(array($controller, $action))) { throw new Exception("Action '$action' not found in the controller '$controllerClassName'."); @@ -328,8 +327,6 @@ class Piwik_FrontController Piwik_ExitWithMessage($e->getMessage(), false, true); } - -// Piwik::log('End FrontController->init() - Request: '. var_export($_REQUEST, true)); } protected function handleMaintenanceMode() |