Update isemail.lnk.php

This commit is contained in:
Namhyeon Go 2018-03-21 11:24:15 +09:00 committed by GitHub
parent 6a38f3f040
commit 126b9a95fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,9 @@
* @brief IsEmail library linker
*/
$inc_file = "./vendor/isemail/is_email.php";
if(file_exists($inc_file)) {
include($inc_file);
if(!function_exists("is_email")) {
$inc_file = "./vendor/isemail/is_email.php";
if(file_exists($inc_file)) {
include($inc_file);
}
}