Project

General

Profile

« Previous | Next » 

Revision 924

Added by doc almost 16 years ago

fixed warning if database connection failed during installation process

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14
08-Feb-2009 Christian Sommer
15
#	fixed warning if database connection failed during installation process
14 16
06-Feb-2009 Christian Sommer
15 17
!	fixed some typos in German language file (thanks to freeSbee)
16 18
!	added new captcha fonts and replaced old background images with the ones created by thorn
trunk/wb/install/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