Update index.php

This commit is contained in:
Namhyeon Go 2018-01-18 01:28:42 +09:00 committed by GitHub
parent ce34e6ad9e
commit d5da14b4c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ ini_set("display_errors", 1);
include_once('./vendor/autoload.php'); include_once('./vendor/autoload.php');
// load system files // load system files
$load_systems = array('base', 'config', 'database', 'uri'); $load_systems = array('base', 'config', 'database', 'uri', 'logger', 'security');
foreach($load_systems as $system_name) { foreach($load_systems as $system_name) {
$system_inc_file = './system/' . $system_name . '.php'; $system_inc_file = './system/' . $system_name . '.php';
if(file_exists($system_inc_file)) { if(file_exists($system_inc_file)) {