Update base.php

This commit is contained in:
Namhyeon Go 2019-02-26 14:36:04 +09:00 committed by GitHub
parent ae4f2628f4
commit 6f9a01dd01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,9 +28,9 @@ if(!function_exists("check_invalid_function")) {
return $status;
}
// check valid function (bool)
if(check_invalid_function("check_valid_function") == -1) {
function check_valid_function($fn) {
// check function exists (bool)
if(check_function_exists("check_function_exists") == -1) {
function check_function_exists($fn) {
return (check_invalid_function($fn) == -1);
}
}