diff --git a/bureau/admin/ip_main.php b/bureau/admin/ip_main.php
index efe49260..83c5252b 100644
--- a/bureau/admin/ip_main.php
+++ b/bureau/admin/ip_main.php
@@ -69,7 +69,7 @@ $lac = $authip->list_affected();
$col=3-$col;
echo "
";
echo "".$ac[$ll['protocol']]['name']." | ";
- echo "".$ac[$ll['protocol']]['values'][$ll['parameters']]." | ";
+ echo "".(isset($ac[$ll['protocol']]['values'][$ll['parameters']])?$ac[$ll['protocol']]['values'][$ll['parameters']]:'')." | ";
echo "".$list_ip[$ll['authorised_ip_id']]['infos']." ".$list_ip[$ll['authorised_ip_id']]['ip_human']." | "; ?>
|
Tue, 14 Aug 2012 11:21:14 +0200
diff --git a/etc/alternc/apache2.conf b/etc/alternc/apache2.conf
index 28f1c72a..4db35263 100644
--- a/etc/alternc/apache2.conf
+++ b/etc/alternc/apache2.conf
@@ -29,7 +29,6 @@ ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/
php_admin_flag safe_mode_gid off
php_admin_flag safe_mode off
- php_admin_flag register_globals on
AddDefaultCharset UTF-8
# modules such as mailman or awstats needs to write into other folders, we have to remove this :
# php_admin_value open_basedir /etc/alternc/:/var/run/alternc/:/var/alternc/bureau/:/var/alternc/html/:/var/alternc/tmp:/tmp:/usr/share/php/:/var/cache/alternc-webalizer/:/etc/locale.gen
diff --git a/etc/alternc/templates/apache2/webmail.conf b/etc/alternc/templates/apache2/webmail.conf
index e4a3c4e1..a10f44b0 100644
--- a/etc/alternc/templates/apache2/webmail.conf
+++ b/etc/alternc/templates/apache2/webmail.conf
@@ -4,8 +4,6 @@
DocumentRoot /usr/share/squirrelmail
- # php_value register_globals On # refer to Debian bug #128226
- php_flag register_globals on
php_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail/:/var/lib/squirrelmail/data/
php_admin_flag safe_mode off
Options Indexes FollowSymLinks
diff --git a/etc/alternc/templates/squirrelmail/apache.conf b/etc/alternc/templates/squirrelmail/apache.conf
index d35d4dc4..3c57ece0 100644
--- a/etc/alternc/templates/squirrelmail/apache.conf
+++ b/etc/alternc/templates/squirrelmail/apache.conf
@@ -6,8 +6,6 @@
#Alias /squirrelmail /usr/share/squirrelmail
-# php_value register_globals On # refer to Debian bug #128226
- php_flag register_globals on
php_value open_basedir /usr/share/squirrelmail
php_admin_flag safe_mode off
Options Indexes FollowSymLinks