Changeset 5236 for trunk/include/common.inc.php
- Timestamp:
- Mar 21, 2010, 11:51:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/common.inc.php
r5235 r5236 105 105 106 106 // Database connection 107 $pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'], 108 $conf['db_password'], $conf['db_base']); 109 pwg_select_db($conf['db_base'], $pwg_db_link); 107 try 108 { 109 $pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'], 110 $conf['db_password'], $conf['db_base']); 111 } 112 catch (Exception $e) 113 { 114 my_error(l10n($e->getMessage(), true); 115 } 110 116 111 117 pwg_db_check_charset();
Note: See TracChangeset
for help on using the changeset viewer.