From 1f9169589550600e2e72cbbe30a117bcce8bc747 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 5 Jul 2017 22:07:41 +0300 Subject: [PATCH] previous: spaces -> tabs --- include/sanity_check.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/sanity_check.php b/include/sanity_check.php index 3f5da764f..b8a5acb1c 100755 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -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, @@ -106,11 +106,11 @@ } 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: $ref_self_url_path"); - } + array_push($errors, + "Please set SELF_URL_PATH to the correct value detected for your server: $ref_self_url_path"); + } - 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"); }