Update hybridauth.lnk.php

This commit is contained in:
Namhyeon Go 2018-09-26 21:52:36 +09:00 committed by GitHub
parent 8fffee48bd
commit e81dc219d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,13 @@ if(!function_exists("load_hybridauth")) {
"facebook-sdk-v5/src/Facebook/autoload" "facebook-sdk-v5/src/Facebook/autoload"
); );
foreach($required_files as $file) { foreach($required_files as $file) {
include("./vendor/" . $file . ".php"); $inc_file = "./vendor/" . $file . ".php";
if(!file_exists($inc_file)) {
set_error("File not exists. " . $inc_file);
show_erros();
} else {
include("./vendor/" . $file . ".php");
}
} }
} }
} }