|
From: Jon O. <jon...@us...> - 2005-10-24 20:18:18
|
Update of /cvsroot/mxbb/mx_profilecp/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1692/modules/mx_profilecp/includes Modified Files: functions_mods_settings.php functions_topics_list.php Log Message: replaced all message_die with mx_message_die Index: functions_topics_list.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/includes/functions_topics_list.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** functions_topics_list.php 1 Oct 2005 14:16:27 -0000 1.3 --- functions_topics_list.php 24 Oct 2005 20:18:06 -0000 1.4 *************** *** 197,201 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Could not obtain post information', '', __LINE__, __FILE__, $sql); } while ($row = $db->sql_fetchrow($result)) --- 197,201 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not obtain post information', '', __LINE__, __FILE__, $sql); } while ($row = $db->sql_fetchrow($result)) Index: functions_mods_settings.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/includes/functions_mods_settings.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** functions_mods_settings.php 1 Oct 2005 14:16:27 -0000 1.2 --- functions_mods_settings.php 24 Oct 2005 20:18:06 -0000 1.3 *************** *** 47,51 **** $board_config[$key] = $value; $sql = "INSERT INTO " . CONFIG_TABLE . " (config_name,config_value) VALUES('$key','$value')"; ! if ( !$db->sql_query($sql) ) message_die(GENERAL_ERROR, 'Could not add key ' . $key . ' in config table', '', __LINE__, __FILE__, $sql); } else if ($force) --- 47,51 ---- $board_config[$key] = $value; $sql = "INSERT INTO " . CONFIG_TABLE . " (config_name,config_value) VALUES('$key','$value')"; ! if ( !$db->sql_query($sql) ) mx_message_die(GENERAL_ERROR, 'Could not add key ' . $key . ' in config table', '', __LINE__, __FILE__, $sql); } else if ($force) *************** *** 53,57 **** $board_config[$key] = $value; $sql = "UPDATE " . CONFIG_TABLE . " SET config_value='$value' WHERE config_name='$key'"; ! if ( !$db->sql_query($sql) ) message_die(GENERAL_ERROR, 'Could not add key ' . $key . ' in config table', '', __LINE__, __FILE__, $sql); } } --- 53,57 ---- $board_config[$key] = $value; $sql = "UPDATE " . CONFIG_TABLE . " SET config_value='$value' WHERE config_name='$key'"; ! if ( !$db->sql_query($sql) ) mx_message_die(GENERAL_ERROR, 'Could not add key ' . $key . ' in config table', '', __LINE__, __FILE__, $sql); } } |