From 28a5d9d7bffd535c3f95fa881bb52978da493c0f Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Tue, 5 Mar 2019 10:06:58 +0900 Subject: [PATCH] Update base.php --- system/base.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/base.php b/system/base.php index 3f7bee1..2fd6149 100644 --- a/system/base.php +++ b/system/base.php @@ -23,15 +23,15 @@ if(!function_exists("check_invalid_function")) { $status = 0; } } - } - return $status; + return $status; + } } // check function exists (bool) -if(check_function_exists("check_function_exists") == -1) { +if(!(check_invalid_function("check_function_exists") < 0)) { function check_function_exists($fn) { - return (check_invalid_function($fn) == -1); + return (check_invalid_function($fn) < 0); } }