Update base.php
This commit is contained in:
parent
c06132fbe7
commit
aa000ed1c8
|
@ -48,6 +48,13 @@ if(!function_exists("include_isolate")) {
|
|||
}
|
||||
}
|
||||
|
||||
// set autoloader
|
||||
if(!function_exists("set_autoloader")) {
|
||||
function set_autoloader() {
|
||||
include('./vendor/autoload.php');
|
||||
}
|
||||
}
|
||||
|
||||
// load view file
|
||||
if(!function_exists("renderView")) {
|
||||
function renderView($name, $data=array()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user