aboutsummaryrefslogtreecommitdiff
path: root/h-source/Examples/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Examples/Controllers')
-rw-r--r--h-source/Examples/Controllers/TestController.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/h-source/Examples/Controllers/TestController.php b/h-source/Examples/Controllers/TestController.php
new file mode 100644
index 0000000..9372e71
--- /dev/null
+++ b/h-source/Examples/Controllers/TestController.php
@@ -0,0 +1,9 @@
+<?php
+
+class TestController extends Controller {
+
+ function index() {
+ echo '<h2>It works!</h2>';
+ }
+
+} \ No newline at end of file