Update base.php

This commit is contained in:
Namhyeon Go 2019-03-05 10:06:58 +09:00 committed by GitHub
parent e39f1b7b36
commit 28a5d9d7bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,15 +23,15 @@ if(!function_exists("check_invalid_function")) {
$status = 0; $status = 0;
} }
} }
}
return $status; return $status;
}
} }
// check function exists (bool) // 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) { function check_function_exists($fn) {
return (check_invalid_function($fn) == -1); return (check_invalid_function($fn) < 0);
} }
} }