osCommerce Preview Release 2.2 Database Update Script

This script updates the configuration table so that it uses a new function to get and set the zone information.

Database Server Information
Server: (eg, 192.168.0.1)
Username: (eg, root)
Password: (eg, bee)
Database: (eg, catalog)
 
' . $errno . ' - ' . $error . '

' . $query . '

[TEP STOP]

'); } function tep_db_query($db_query) { global $db_link; $result = mysql_query($db_query, $db_link) or tep_db_error($db_query, mysql_errno(), mysql_error()); return $result; } function tep_db_fetch_array($db_query) { $result = mysql_fetch_array($db_query); return $result; } tep_db_connect() or die('Unable to connect to database server!'); tep_db_query("update configuration set use_function = 'tep_cfg_get_zone_name' where configuration_key = 'STORE_ZONE'"); ?> Done!