alternc don't depend on magic_quotes ON (in fact it only depend on magic quotes for session management, which will be corrected in the next patch ...)
This commit is contained in:
parent
5b5b16669d
commit
bced228b5e
|
@ -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)) { // $
|
||||
|
|
|
@ -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)) { // $
|
||||
|
|
Loading…
Reference in New Issue