Ticket #17069: www_includes_common.inc.diff
File www_includes_common.inc.diff, 630 bytes (added by blb@…, 16 years ago) |
---|
-
www/includes/common.inc
67 67 68 68 $script = basename($_SERVER['PHP_SELF']); 69 69 70 $portsdb_connection = mysql_connect($portsdb_host, $portsdb_user, $portsdb_passwd); 70 $portsdb_connection = FALSE; 71 if (function_exists('mysql_connect')) { 72 $portsdb_connection = mysql_connect($portsdb_host, $portsdb_user, $portsdb_passwd); 73 } 71 74 if ($portsdb_connection === FALSE) { 72 75 switch ($script) { 73 76 case "index.php":