]> git.wh0rd.org - tt-rss.git/blobdiff - sanity_check.php
add sanity check for SELF_URL_PATH being kept at default value (refs #349)
[tt-rss.git] / sanity_check.php
index 3007d2bb74e61fb67cfa057784aae92f9332e9b1..9df2fb0470e20cd9e7519278dc9e33eac9db378b 100644 (file)
                $err_msg = "PHP: DOMDocument extension not found.";
        }
 
+       if (SELF_URL_PATH == "http://local.host/tt-rss") {
+               $err_msg = "config: please set SELF_URL_PATH to the correct value";
+       }
+
        if (!ISCONFIGURED) {
                $err_msg = "config: please read config.php completely.";
        }