]> git.wh0rd.org Git - tt-rss.git/commitdiff
previous: spaces -> tabs
authorAndrew Dolgov <noreply@fakecake.org>
Wed, 5 Jul 2017 19:07:41 +0000 (22:07 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Wed, 5 Jul 2017 19:07:41 +0000 (22:07 +0300)
include/sanity_check.php

index 3f5da764fea186f7db1e1aa7620ee1406bae5149..b8a5acb1c9e18afb734151fa4fabacf2f12968ac 100755 (executable)
@@ -98,7 +98,7 @@
                        }
 
                        $ref_self_url_path = make_self_url_path();
-            $ref_self_url_path = preg_replace("/\w+\.php$/", "", $ref_self_url_path);
+                       $ref_self_url_path = preg_replace("/\w+\.php$/", "", $ref_self_url_path);
 
                        if (SELF_URL_PATH == "http://example.org/tt-rss/") {
                                array_push($errors,
                        }
 
                        if (SELF_URL_PATH != $ref_self_url_path && (!defined('_SKIP_SELF_URL_PATH_CHECKS') || !_SKIP_SELF_URL_PATH_CHECKS)) {
-                array_push($errors,
-                    "Please set SELF_URL_PATH to the correct value detected for your server: <b>$ref_self_url_path</b>");
-            }
+                               array_push($errors,
+                                       "Please set SELF_URL_PATH to the correct value detected for your server: <b>$ref_self_url_path</b>");
+                       }
 
-            if (!is_writable(ICONS_DIR)) {
+                       if (!is_writable(ICONS_DIR)) {
                                array_push($errors, "ICONS_DIR defined in config.php is not writable (chmod -R 777 ".ICONS_DIR.").\n");
                        }