Plus de register globals.

Comme ça, on validera lors de nos tests.
This commit is contained in:
Alan Garcia 2012-08-20 10:11:09 +00:00
parent a4e3b72507
commit b65ae184ab
5 changed files with 2 additions and 7 deletions

View File

@ -69,7 +69,7 @@ $lac = $authip->list_affected();
$col=3-$col;
echo "<tr class='lst$col' >";
echo "<td>".$ac[$ll['protocol']]['name']."</td>";
echo "<td>".$ac[$ll['protocol']]['values'][$ll['parameters']]."</td>";
echo "<td>".(isset($ac[$ll['protocol']]['values'][$ll['parameters']])?$ac[$ll['protocol']]['values'][$ll['parameters']]:'')."</td>";
echo "<td>".$list_ip[$ll['authorised_ip_id']]['infos']."<br/>".$list_ip[$ll['authorised_ip_id']]['ip_human']."</td>"; ?>
<td><div class="ina"><a href="ip_main.php?delete_affected_id=<?php echo urlencode($ll["id"]) ?>"><img src="images/delete.png" alt="<?php __("Delete")?>" /><?php __("Delete"); ?></a></div></td>
<?php

2
debian/changelog vendored
View File

@ -6,7 +6,7 @@ alternc (1.1+nmu4) stable; urgency=low
* Users can now create databases en databases users independently
( no need to create a first database to create a user anymore)
* Bugfixes in installation process
* Kick off register_globals
-- squidly <squidly@nnx.com> Tue, 14 Aug 2012 11:21:14 +0200

View File

@ -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

View File

@ -4,8 +4,6 @@
DocumentRoot /usr/share/squirrelmail
<Directory /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

View File

@ -6,8 +6,6 @@
#Alias /squirrelmail /usr/share/squirrelmail
<Directory /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