From e79f47e63d78dbbe09d9930f313e7c7505023c96 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Tue, 16 May 2006 17:54:59 +0000 Subject: [PATCH] Verifie dans le bureau web que le safe_mode est bien OFF pour lui. Closes #658 et probablement plein d'autres ... --- bureau/class/config.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bureau/class/config.php b/bureau/class/config.php index 0bb36d6b..ff2b1894 100644 --- a/bureau/class/config.php +++ b/bureau/class/config.php @@ -61,6 +61,10 @@ if (!get_magic_quotes_gpc()) { echo "MAGIC QUOTES GPC IS DISABLED ! It's a bug in your php4 configuration, please fix it !!"; exit(); } +if (ini_get("safe_mode")) { + echo "SAFE MODE IS ENABLED for the web panel ! It's a bug in your php4 or apache configuration, please fix it !!"; + exit(); +}