diff --git a/cake/libs/controller/controller.php b/cake/libs/controller/controller.php index 7926145ea..39871165b 100644 --- a/cake/libs/controller/controller.php +++ b/cake/libs/controller/controller.php @@ -554,7 +554,7 @@ class Controller extends Object { } if ($exit) { - exit(); + $this->stop(); } } /**