Update base.php

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

View File

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