diff options
Diffstat (limited to 'system/classes/controller.php')
-rw-r--r-- | system/classes/controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/classes/controller.php b/system/classes/controller.php index 664710f..a1aff33 100644 --- a/system/classes/controller.php +++ b/system/classes/controller.php @@ -72,7 +72,7 @@ class Controller { public function run($action) {
$action = 'action_'.$action;
if (!method_exists($this, $action))
- throw new Exception("Method {$action} doesn't exist in ".get_class($this));
+ throw new Exception("Method {$action} doesn't exist in ".get_class($this),404);
$this->execute=true;
$this->before();
if($this->execute)
|