aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/fixtures/ext/foo/bar/controller.php
blob: 93d1f099c9b8f71db83df9155fd7b364756e813f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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();
	}
}