From b220e5db421a78e8cc4c76fba42d4f5049892488 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sun, 5 Sep 2004 15:49:54 +0000 Subject: 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 --- admin/configuration.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'admin') 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']]; -- cgit v1.2.3