Update index.php
This commit is contained in:
parent
453fd2544a
commit
57f100010e
|
|
@ -38,7 +38,7 @@ $route = get_value_in_array("route", $_REQUEST, "");
|
||||||
|
|
||||||
// load route
|
// load route
|
||||||
if(empty($route)) {
|
if(empty($route)) {
|
||||||
$route = "welcome";
|
$route = get_value_in_array("default_route", $config, "welcome");
|
||||||
} else {
|
} else {
|
||||||
$route_names = explode('/', $route);
|
$route_names = explode('/', $route);
|
||||||
if(count($route) > 1) {
|
if(count($route) > 1) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user