From e402dcdd879994b197e2413c5d32f92cab6ee743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Fri, 25 Jul 2014 14:56:14 +0200 Subject: [PATCH] don't restart in dev mode --- application/core/ErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/ErrorHandler.php b/application/core/ErrorHandler.php index 308b977d..2980af7e 100644 --- a/application/core/ErrorHandler.php +++ b/application/core/ErrorHandler.php @@ -479,7 +479,7 @@ class ErrorHandler { * @return bool */ private function shouldRestart() { - if (!$this->maniaControl || !$this->maniaControl->settingManager) { + if (!$this->maniaControl || !$this->maniaControl->settingManager || DEV_MODE) { return false; } $setting = $this->maniaControl->settingManager->getSettingValue($this, self::SETTING_RESTART_ON_EXCEPTION, true);