diff options
Diffstat (limited to 'install')
-rw-r--r-- | install/index.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/install/index.php b/install/index.php index 2ac7a0935..b0696ca6d 100644 --- a/install/index.php +++ b/install/index.php @@ -102,7 +102,7 @@ $link = mysql_connect($host, $user, $pass); if ($link) { $result = mysql_select_db($db, $link); - return $link; + if ($result) return $link; } } } @@ -131,10 +131,12 @@ ?> -<div class="floatingLogo"><img src="../images/logo_wide.png"></div> +<div class="floatingLogo"><img src="../images/logo_small.png"></div> <h1>Tiny Tiny RSS Installer</h1> +<div class='content'> + <?php if (file_exists("../config.php")) { require "../config.php"; @@ -226,6 +228,8 @@ ?> + <?php print_notice("Configuration check succeeded."); ?> + <h2>Checking database</h2> <?php @@ -347,6 +351,7 @@ } ?> +</div> </body> </html> |