summaryrefslogtreecommitdiff
path: root/include/sanity_check.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-08-13 15:59:24 +0300
committerAndrew Dolgov <[email protected]>2018-08-13 15:59:24 +0300
commit069aea5989ec7fe4090cf3f1151f99476fa038be (patch)
tree23c48c13d8baf5d9dc72e2c7fe6615e2ae32d6c6 /include/sanity_check.php
parenteb43d9f4a8a8609b7f30ef4e2add425b9c91fe00 (diff)
remove FEED_CRYPT_KEY and everything related to it
always assume auth_pass_encrypted is false
Diffstat (limited to 'include/sanity_check.php')
-rwxr-xr-xinclude/sanity_check.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php
index 94578b404..5166adee0 100755
--- a/include/sanity_check.php
+++ b/include/sanity_check.php
@@ -70,14 +70,6 @@
array_push($errors, "Javascript cache is not writable (chmod -R 777 ".CACHE_DIR."/js)");
}
- if (strlen(FEED_CRYPT_KEY) > 0 && strlen(FEED_CRYPT_KEY) != 24) {
- array_push($errors, "FEED_CRYPT_KEY should be exactly 24 characters in length.");
- }
-
- if (strlen(FEED_CRYPT_KEY) > 0 && !function_exists("mcrypt_decrypt")) {
- array_push($errors, "FEED_CRYPT_KEY requires mcrypt functions which are not found.");
- }
-
if (GENERATED_CONFIG_CHECK != EXPECTED_CONFIG_VERSION) {
array_push($errors,
"Configuration option checker sanity_config.php is outdated, please recreate it using ./utils/regen_config_checks.sh");