diff --git a/helper/hybridauth.lnk.php b/helper/hybridauth.lnk.php index 821a5b2..5092a64 100644 --- a/helper/hybridauth.lnk.php +++ b/helper/hybridauth.lnk.php @@ -14,7 +14,13 @@ if(!function_exists("load_hybridauth")) { "facebook-sdk-v5/src/Facebook/autoload" ); 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"); + } } } }