Revision 924
Added by doc almost 16 years ago
save.php | ||
---|---|---|
345 | 345 |
} |
346 | 346 |
|
347 | 347 |
// Try connecting to database |
348 |
if(!mysql_connect(DB_HOST, DB_USERNAME, DB_PASSWORD)) { |
|
348 |
if(!@mysql_connect(DB_HOST, DB_USERNAME, DB_PASSWORD)) {
|
|
349 | 349 |
set_error('Database host name, username and/or password incorrect. MySQL Error:<br />'.mysql_error()); |
350 | 350 |
} |
351 | 351 |
|
Also available in: Unified diff
fixed warning if database connection failed during installation process