|
@ -43,6 +43,7 @@ |
|
|
// Database |
|
|
// Database |
|
|
title('Database'); |
|
|
title('Database'); |
|
|
|
|
|
|
|
|
|
|
|
if(extension_loaded('mysql')) { |
|
|
if($sql = @mysql_connect(MY_SERVER, MY_USER, MY_PASSWORD)) { |
|
|
if($sql = @mysql_connect(MY_SERVER, MY_USER, MY_PASSWORD)) { |
|
|
$body .= check('Connection to server.', 'ok'); |
|
|
$body .= check('Connection to server.', 'ok'); |
|
|
if(@mysql_select_db(MY_DATABASE, $sql)) |
|
|
if(@mysql_select_db(MY_DATABASE, $sql)) |
|
@ -55,6 +56,7 @@ |
|
|
$body .= check('Connection to server.', 'error'); |
|
|
$body .= check('Connection to server.', 'error'); |
|
|
$todo[] = 'instance-config.php: Check database configuration.'; |
|
|
$todo[] = 'instance-config.php: Check database configuration.'; |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// Configuration |
|
|
// Configuration |
|
|
title('Configuration'); |
|
|
title('Configuration'); |
|
|