aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/fixtures/ext/error/class/controller.php
blob: eb2ae362a6e1e7d7b25bf549097809d0c8198ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

class phpbb_ext_foobar_controller implements phpbb_extension_controller_interface
{
	public function handle()
	{
		global $template;
		$template->set_ext_dir_prefix($phpbb_root_path . 'ext/error/class/');

		$template->set_filenames(array(
			'body' => 'index_body.html'
		));

		page_header('Test extension');
		page_footer();
	}
}