]> git.wh0rd.org - tt-rss.git/blobdiff - index.php
allow ON_SANITIZE plugins to modify the list of tags and attributes that are permissible
[tt-rss.git] / index.php
index c6698793f0184f95a0c63329188d34eeea1acdcb..281f46cf924e019b72044d5041aa340f691da8ff 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,4 +1,8 @@
 <?php
+       if (file_exists("install") && !file_exists("config.php")) {
+               header("Location: install/");
+       }
+
        if (!file_exists("config.php")) {
                print "<b>Fatal Error</b>: You forgot to copy
                <b>config.php-dist</b> to <b>config.php</b> and edit it.\n";
@@ -38,6 +42,9 @@
                } else if ($mobile->isMobile() && $pluginhost->get_plugin("mobile")) {
                        header('Location: backend.php?op=mobile');
                        exit;
+               } else if ($mobile->isMobile() && $pluginhost->get_plugin("digest")) {
+                       header('Location: backend.php?op=digest');
+                       exit;
                }
        }