Update index.php

This commit is contained in:
Namhyeon Go 2018-03-23 18:26:14 +09:00 committed by GitHub
parent 453fd2544a
commit 57f100010e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ $route = get_value_in_array("route", $_REQUEST, "");
// load route
if(empty($route)) {
$route = "welcome";
$route = get_value_in_array("default_route", $config, "welcome");
} else {
$route_names = explode('/', $route);
if(count($route) > 1) {