mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
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
This commit is contained in:
@@ -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']];
|
||||
|
||||
Reference in New Issue
Block a user