diff --git a/install/index.php b/install/index.php index d34bffe78..927d7b129 100755 --- a/install/index.php +++ b/install/index.php @@ -1,13 +1,52 @@ +\n"; + } + + function javascript_tag($filename) { + $query = ""; + + if (!(strpos($filename, "?") === FALSE)) { + $query = substr($filename, strpos($filename, "?")+1); + $filename = substr($filename, 0, strpos($filename, "?")); + } + + $timestamp = filemtime($filename); + + if ($query) $timestamp .= "&$query"; + + return "\n"; + } +?> +
Before you can start using tt-rss, database needs to be initialized. Click on the button below to do that now.
+Before you can start using tt-rss, database needs to be initialized. Click on the button below to do that now.
- query("SELECT true FROM ttrss_feeds"); + query("SELECT true FROM ttrss_feeds"); - if ($res && $res->fetch()) { - print_error("Some tt-rss data already exists in this database. If you continue with database initialization your current data will be lost."); - $need_confirm = true; - } else { - $need_confirm = false; - } - ?> + if ($res && $res->fetch()) { + print_error("Some tt-rss data already exists in this database. If you continue with database initialization your current data WILL BE LOST."); + $need_confirm = true; + } else { + $need_confirm = false; + } + ?> -| - - |