diff --git a/app/inc/smarty.php b/app/inc/smarty.php index 98ad34b..63cea1d 100644 --- a/app/inc/smarty.php +++ b/app/inc/smarty.php @@ -35,7 +35,7 @@ $smarty->assign('langs', $ALLOWED_LANGUAGES); $smarty->assign('date_format', $date_format); // Dev Mode -if ($_SERVER['FRAMADATE_DEVMODE']) { +if (isset($_SERVER['FRAMADATE_DEVMODE']) && $_SERVER['FRAMADATE_DEVMODE']) { $smarty->force_compile = true; $smarty->compile_check = true;