diff options
| author | David King <imkingdavid@gmail.com> | 2012-02-21 11:17:21 -0500 |
|---|---|---|
| committer | David King <imkingdavid@gmail.com> | 2012-03-19 09:12:33 -0400 |
| commit | d235262bc21657f0693501ac1154e1443578d507 (patch) | |
| tree | b2ec9edc55b93f236fb62f5560b99d0a62cd3b0d /tests/functional/fixtures/ext/foo/bar/controller.php | |
| parent | a37a28b48546afc880446db7e4b2fd87c70a6cda (diff) | |
| download | forums-d235262bc21657f0693501ac1154e1443578d507.tar forums-d235262bc21657f0693501ac1154e1443578d507.tar.gz forums-d235262bc21657f0693501ac1154e1443578d507.tar.bz2 forums-d235262bc21657f0693501ac1154e1443578d507.tar.xz forums-d235262bc21657f0693501ac1154e1443578d507.zip | |
[ticket/10586] Adding the extensions used by the tests
PHPBB3-10586
Diffstat (limited to 'tests/functional/fixtures/ext/foo/bar/controller.php')
| -rw-r--r-- | tests/functional/fixtures/ext/foo/bar/controller.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/functional/fixtures/ext/foo/bar/controller.php b/tests/functional/fixtures/ext/foo/bar/controller.php new file mode 100644 index 0000000000..93d1f099c9 --- /dev/null +++ b/tests/functional/fixtures/ext/foo/bar/controller.php @@ -0,0 +1,17 @@ +<?php + +class phpbb_ext_foo_bar_controller implements phpbb_extension_controller_interface +{ + public function handle() + { + global $template; + $template->set_ext_dir_prefix($phpbb_root_path . 'ext/foo/bar/'); + + $template->set_filenames(array( + 'body' => 'index_body.html' + )); + + page_header('Test extension'); + page_footer(); + } +} |
