]> git.wh0rd.org - tt-rss.git/blobdiff - install/index.php
Merge pull request #211 from PerryWerneck/master
[tt-rss.git] / install / index.php
index 6cb2ace4f370c8b5e0788354c5fd9a66b5e04893..06f13fe142a9626a044f513d87c08767c2dc4260 100644 (file)
@@ -2,7 +2,7 @@
 <head>
        <title>Tiny Tiny RSS - Installer</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-       <link rel="stylesheet" type="text/css" href="../utility.css">
+       <link rel="stylesheet" type="text/css" href="../css/utility.css">
        <style type="text/css">
        textarea { font-size : 12px; }
        </style>
                        if (!$result) {
                                $query = htmlspecialchars($query);
                                if ($die_on_error) {
-                                       die("Query <i>$query</i> failed: " . ($link ? mysql_error($link) : "No connection"));
+                                       die("Query <i>$query</i> failed: " . ($link ? function_exists("mysqli_connect") ? mysqli_error($link) : mysql_error($link) : "No connection"));
                                }
                        }
                        return $result;