@@ -330,7 +330,7 @@ function wxc_scriptUpdateDateTime ($id, $name) {
***********/
//main sql connection
functionwxc_connectToMySQL(){
$GLOBALS['sql_connection']=mysqli_connect($GLOBALS['USER_SETTINGS']['sql_server'],$GLOBALS['USER_SETTINGS']['sql_user'],$GLOBALS['USER_SETTINGS']['sql_passwd'],$GLOBALS['USER_SETTINGS']['sql_db'])ordie('Could not connect to mySQL database: '.mysqli_error($GLOBALS['connection'])."\n");
$GLOBALS['sql_connection']=mysqli_connect($GLOBALS['USER_SETTINGS']['sql_server'],$GLOBALS['USER_SETTINGS']['sql_user'],$GLOBALS['USER_SETTINGS']['sql_passwd'],$GLOBALS['USER_SETTINGS']['sql_db'],$GLOBALS['USER_SETTINGS']['sql_port'])ordie('Could not connect to mySQL database: '.mysqli_error($GLOBALS['connection'])."\n");