]> git.wh0rd.org - tt-rss.git/blobdiff - install/index.php
tweak how utility.css-based stuff looks
[tt-rss.git] / install / index.php
index 2ac7a093536d1daa104459746a2d1299da8509dc..b0696ca6d155cdbd161b5f4ff8027b8e8ad419bb 100644 (file)
                        $link = mysql_connect($host, $user, $pass);
                        if ($link) {
                                $result = mysql_select_db($db, $link);
-                               return $link;
+                               if ($result) return $link;
                        }
                }
        }
 
 ?>
 
-<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";
 
        ?>
 
+       <?php print_notice("Configuration check succeeded."); ?>
+
        <h2>Checking database</h2>
 
        <?php
                }
        ?>
 
+</div>
 
 </body>
 </html>