diff options
Diffstat (limited to 'install/index.php')
-rw-r--r-- | install/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/index.php b/install/index.php index 6cb2ace4f..06f13fe14 100644 --- a/install/index.php +++ b/install/index.php @@ -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> @@ -191,7 +191,7 @@ 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; |