Don't refresh new forum setting (General)

by spataro @, Wednesday, February 20, 2008, 09:32 (5882 days ago) @ spataro

ok, i'll try to solve myself.

in include functions.inc.php there is:

/**
* fetches settings from database
*/
function get_settings()
{
global $lang, $connid, $db_settings, $settings;
$result = mysql_query("SELECT name, value FROM ".$db_settings['settings_table'], $connid) or raise_error('database_error',mysql_error());
while ($line = mysql_fetch_array($result))
{
$settings[$line['name']] = stripslashes($line['value']);
}
mysql_free_result($result);
}


in main.inc.php there is:

get_settings();

so it should works always, right ?

Instead in /forum/index.php?mode=admin&action=settings the script takes always default datas.

In which line ? I can't find .

locked
3070 views

Complete thread:

 RSS Feed of thread