From 7bc98e88525b25f26b53a77921159a36343d1d65 Mon Sep 17 00:00:00 2001 From: J-C Lariviere Date: Wed, 1 Mar 2017 10:52:09 -0500 Subject: [PATCH] Use === --- includes/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/core.php b/includes/core.php index 5f93645..5aca11b 100644 --- a/includes/core.php +++ b/includes/core.php @@ -65,7 +65,7 @@ function gen_name($arg, $in){ //Verify that the extension is allowed function verify_extension($ext, $type){ - if(CONFIG_EXTENSION_BLOCKING_MODE == "WHITELIST") { + if(CONFIG_EXTENSION_BLOCKING_MODE === "WHITELIST") { $allowed = in_array($ext, unserialize(CONFIG_ALLOWED_EXTENSIONS)); }else{ $allowed = !in_array($ext, unserialize(CONFIG_BLOCKED_EXTENSIONS));