Changeset 20720
- Timestamp:
- Feb 12, 2013, 12:06:00 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_install.inc.php
r19703 r20720 144 144 function install_db_connect(&$infos, &$errors) 145 145 { 146 global $pwg_db_link;147 148 146 try 149 147 { 150 $pwg_db_link = pwg_db_connect($_POST['dbhost'], $_POST['dbuser'], $_POST['dbpasswd'], $_POST['dbname']); 151 if ($pwg_db_link) 152 { 153 pwg_db_check_version(); 154 } 148 pwg_db_connect($_POST['dbhost'], $_POST['dbuser'], 149 $_POST['dbpasswd'], $_POST['dbname']); 150 pwg_db_check_version(); 155 151 } 156 152 catch (Exception $e) -
trunk/admin/include/functions_upgrade.php
r19703 r20720 315 315 try 316 316 { 317 $pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'], $conf['db_password'], $conf['db_base']); 318 if ($pwg_db_link) 319 { 320 pwg_db_check_version(); 321 } 317 pwg_db_connect($conf['db_host'], $conf['db_user'], 318 $conf['db_password'], $conf['db_base']); 319 pwg_db_check_version(); 322 320 } 323 321 catch (Exception $e) -
trunk/include/common.inc.php
r20599 r20720 112 112 try 113 113 { 114 $pwg_db_link =pwg_db_connect($conf['db_host'], $conf['db_user'],115 114 pwg_db_connect($conf['db_host'], $conf['db_user'], 115 $conf['db_password'], $conf['db_base']); 116 116 } 117 117 catch (Exception $e) -
trunk/upgrade_feed.php
r19703 r20720 61 61 try 62 62 { 63 $pwg_db_link =pwg_db_connect($conf['db_host'], $conf['db_user'],64 63 pwg_db_connect($conf['db_host'], $conf['db_user'], 64 $conf['db_password'], $conf['db_base']); 65 65 } 66 66 catch (Exception $e)
Note: See TracChangeset
for help on using the changeset viewer.