Update base.php

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

View File

@ -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 // load view file
if(!function_exists("renderView")) { if(!function_exists("renderView")) {
function renderView($name, $data=array()) { function renderView($name, $data=array()) {