aboutsummaryrefslogtreecommitdiffstats
path: root/App.php
diff options
context:
space:
mode:
Diffstat (limited to 'App.php')
-rw-r--r--App.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/App.php b/App.php
index 6eb9a24..242d2bb 100644
--- a/App.php
+++ b/App.php
@@ -21,12 +21,11 @@ class App
@list($controller, $param, $action) = App::url();
if (empty($param)) {
- $action = "index";
+ $controller = self::conf("defaults.action");
}
if (!$controller) {
- $dc = self::conf("defaults.route");
- $controller = $dc;
+ $controller = self::conf("defaults.controller");
}
ob_start();