Changeset 5384 for trunk/admin/include/functions_install.inc.php
- Timestamp:
- Mar 26, 2010, 4:44:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_install.inc.php
r5340 r5384 139 139 } 140 140 } 141 142 function try_db_connection(&$infos, &$errors) 143 { 144 try 145 { 146 $pwg_db_link = pwg_db_connect($_POST['dbhost'], $_POST['dbuser'], 147 $_POST['dbpasswd'], $_POST['dbname']); 148 149 array_push( $infos, l10n('Parameters are correct') ); 150 return true; 151 } 152 catch (Exception $e) 153 { 154 array_push( $errors, l10n($e->getMessage())); 155 } 156 return false; 157 } 141 158 ?>
Note: See TracChangeset
for help on using the changeset viewer.