diff --git a/bureau/class/config.php b/bureau/class/config.php index fd75876a..b85f7914 100644 --- a/bureau/class/config.php +++ b/bureau/class/config.php @@ -57,12 +57,8 @@ register_shutdown_function("alternc_shutdown"); // 4. Acquire the semaphore : with that process, sem_acquire( $alternc_sem ); -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 !!"; + echo "SAFE MODE IS ENABLED for the web panel ! It's a bug in your php or apache configuration, please fix it !!"; exit(); } @@ -116,7 +112,7 @@ $cuid=0; $classes=array(); -/* CLASSES PHP4 : automatic include : */ +/* CLASSES PHP : automatic include : */ $c=opendir($root."class/"); while ($di=readdir($c)) { if (ereg("^m_(.*)\\.php$",$di,$match)) { // $ diff --git a/bureau/class/config_real.php b/bureau/class/config_real.php index db7776e4..6a770acb 100644 --- a/bureau/class/config_real.php +++ b/bureau/class/config_real.php @@ -52,13 +52,6 @@ register_shutdown_function("alternc_shutdown"); // 4. Acquire the semaphore : with that process, sem_acquire( $alternc_sem ); -if (!get_magic_quotes_gpc()) { - echo "MAGIC QUOTES GPC IS DISABLED ! It's a bug in your php4 configuration, please fix it !!"; - exit(); -} - - - /* PHPLIB inclusions : */ $root="/var/alternc/bureau/"; /* Server Domain Name */ @@ -88,7 +81,7 @@ $db= new DB_system(); $cuid=0; $classes=array(); -/* CLASSES PHP4 : automatic include : */ +/* CLASSES PHP : automatic include : */ $c=opendir($root."class/"); while ($di=readdir($c)) { if (ereg("^m_(.*)\\.php$",$di,$match)) { // $