aboutsummaryrefslogtreecommitdiffstats
path: root/public/install/controller/startup/router.php
blob: 13cd146203b97609b393bf724255ca499b9b1a16 (plain)
1
2
3
4
5
6
7
8
9
10
<?php
class ControllerStartupRouter extends Controller {
	public function index() {
		if (isset($this->request->get['route']) && $this->request->get['route'] != 'action/route') {
			return new Action($this->request->get['route']);
		} else {
			return new Action($this->config->get('action_default'));
		}
	}
}