Changeset 5236 for trunk/upgrade.php
- Timestamp:
- Mar 21, 2010, 11:51:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/upgrade.php
r5234 r5236 52 52 53 53 // Database connection 54 $pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'], 55 $conf['db_password'], $conf['db_base']); 56 pwg_select_db($conf['db_base'], $pwg_db_link); 54 try 55 { 56 $pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'], 57 $conf['db_password'], $conf['db_base']); 58 } 59 catch (Exception $e) 60 { 61 my_error(l10n($e->getMessage(), true); 62 } 57 63 58 64 pwg_db_check_charset();
Note: See TracChangeset
for help on using the changeset viewer.