aboutsummaryrefslogtreecommitdiffstats
path: root/admin/configuration.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-09-05 15:49:54 +0000
committerz0rglub <z0rglub@piwigo.org>2004-09-05 15:49:54 +0000
commitb220e5db421a78e8cc4c76fba42d4f5049892488 (patch)
treee6901f787cc1cb931c3bbf3a3f38e751499caa2a /admin/configuration.php
parent1f8b6b0790d76d98f74e55d6551fce9be7d7e08e (diff)
deletion of $conf['site_url'] and $conf['forum_url'] and all their usage
(thus avoiding the usage of $conf in *.lang.php) git-svn-id: http://piwigo.org/svn/trunk@516 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/configuration.php')
-rw-r--r--admin/configuration.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index 6db69fa1c..2a11a1ea0 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -99,7 +99,8 @@ $result = mysql_query('SELECT param,value FROM '.CONFIG_TABLE);
while ($row = mysql_fetch_array($result))
{
$conf[$row['param']] = $row['value'];
-
+ // if the parameter is present in $_POST array (if a form is submited), we
+ // override it with the submited value
if (isset($_POST[$row['param']]))
{
$conf[$row['param']] = $_POST[$row['param']];