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

class phpbb_ext_foobar_controller extends phpbb_extension_controller
{
	public function handle()
	{
		$this->template->set_ext_dir_prefix($this->phpbb_root_path . 'ext/foobar/');

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

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