]> git.wh0rd.org - tt-rss.git/blobdiff - include/sanity_check.php
drop support for (obsolete, removed from recent php versions) php safe_mode setting
[tt-rss.git] / include / sanity_check.php
old mode 100644 (file)
new mode 100755 (executable)
index b2888b1..be314f4
@@ -95,7 +95,7 @@
                                }
                        }
 
-                       if (SELF_URL_PATH == "http://yourserver/tt-rss/") {
+                       if (SELF_URL_PATH == "http://example.org/tt-rss/") {
                                $urlpath = preg_replace("/\w+\.php$/", "", make_self_url_path());
 
                                array_push($errors,
                                array_push($errors, "PHP support for hash() function is required but was not found.");
                        }
 
-                       if (!function_exists("ctype_lower")) {
-                               array_push($errors, "PHP support for ctype functions are required by HTMLPurifier.");
+                       if (ini_get("safe_mode")) {
+                               array_push($errors, "PHP safe mode setting is obsolete and not supported by tt-rss.");
                        }
 
-                       if (!function_exists("iconv")) {
-                               array_push($errors, "PHP support for iconv is required to handle multiple charsets.");
-                       }
-
-                       /* if (ini_get("safe_mode")) {
-                               array_push($errors, "PHP safe mode setting is not supported.");
-                       } */
-
                        if ((PUBSUBHUBBUB_HUB || PUBSUBHUBBUB_ENABLED) && !function_exists("curl_init")) {
                                array_push($errors, "PHP support for CURL is required for PubSubHubbub.");
                        }
                        <head>
                        <title>Startup failed</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">
                        </head>
                <body>
                <div class="floatingLogo"><img src="images/logo_small.png"></div>