Update base.php

This commit is contained in:
Namhyeon Go 2018-12-29 13:26:58 +09:00 committed by GitHub
parent 50ad15341e
commit ea0b63bc30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,13 +51,12 @@ if(!function_exists("include_isolate")) {
// set autoloader
if(!function_exists("set_autoloader")) {
function set_autoloader() {
$flag = false;
$inc_file = './vendor/autoload.php'
$ret = NULL;
$inc_file = './vendor/autoload.php';
if(file_exists($inc_file)) {
include('./vendor/autoload.php');
$flag = true;
$ret = include($inc_file);
}
return $flag;
return $ret;
}
}