summaryrefslogtreecommitdiff
path: root/src/controllers/Main.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/controllers/Main.class.php')
-rw-r--r--src/controllers/Main.class.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/controllers/Main.class.php b/src/controllers/Main.class.php
new file mode 100644
index 0000000..7651b62
--- /dev/null
+++ b/src/controllers/Main.class.php
@@ -0,0 +1,9 @@
+<?php
+
+Router::register('index', 'Main', 'index');
+
+class Main extends Controller {
+ public function index($routed, $remainder) {
+ $this->showView('index');
+ }
+}