Update base.php
This commit is contained in:
parent
ea0b63bc30
commit
123a517ba3
|
@ -51,12 +51,7 @@ if(!function_exists("include_isolate")) {
|
||||||
// set autoloader
|
// set autoloader
|
||||||
if(!function_exists("set_autoloader")) {
|
if(!function_exists("set_autoloader")) {
|
||||||
function set_autoloader() {
|
function set_autoloader() {
|
||||||
$ret = NULL;
|
return include('./vendor/autoload.php');
|
||||||
$inc_file = './vendor/autoload.php';
|
|
||||||
if(file_exists($inc_file)) {
|
|
||||||
$ret = include($inc_file);
|
|
||||||
}
|
|
||||||
return $ret;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user