aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/fixtures/ext/error/class/controller.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/fixtures/ext/error/class/controller.php')
-rw-r--r--tests/functional/fixtures/ext/error/class/controller.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/functional/fixtures/ext/error/class/controller.php b/tests/functional/fixtures/ext/error/class/controller.php
new file mode 100644
index 0000000000..74bbbee540
--- /dev/null
+++ b/tests/functional/fixtures/ext/error/class/controller.php
@@ -0,0 +1,14 @@
+<?php
+
+class phpbb_ext_foobar_controller extends phpbb_extension_controller
+{
+ public function handle()
+ {
+ $this->template->set_filenames(array(
+ 'body' => 'index_body.html'
+ ));
+
+ page_header('Test extension');
+ page_footer();
+ }
+}