From e81dc219d4ca1d1c66ddd64134d57c42aa484aa0 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 26 Sep 2018 21:52:36 +0900 Subject: [PATCH] Update hybridauth.lnk.php --- helper/hybridauth.lnk.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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"); + } } } }