Update base.php
This commit is contained in:
parent
ea0b63bc30
commit
123a517ba3
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user