diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2015-02-11 13:03:22 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2015-02-11 13:03:22 +0100 |
| commit | 25b54791f9cc64f3e861a169a8a70d69c0cc2131 (patch) | |
| tree | 6bbc74f8b6c1240f176e70575eab17926cfedd0e /tests/controller/helper_route_slash_test.php | |
| parent | c6a371531bab7ba7f003c57d25b6b515718eb54f (diff) | |
| download | forums-25b54791f9cc64f3e861a169a8a70d69c0cc2131.tar forums-25b54791f9cc64f3e861a169a8a70d69c0cc2131.tar.gz forums-25b54791f9cc64f3e861a169a8a70d69c0cc2131.tar.bz2 forums-25b54791f9cc64f3e861a169a8a70d69c0cc2131.tar.xz forums-25b54791f9cc64f3e861a169a8a70d69c0cc2131.zip | |
[ticket/13493] Append page name to base url if it doesn't contain it
PHPBB3-13493
Diffstat (limited to 'tests/controller/helper_route_slash_test.php')
| -rw-r--r-- | tests/controller/helper_route_slash_test.php | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/controller/helper_route_slash_test.php b/tests/controller/helper_route_slash_test.php new file mode 100644 index 0000000000..cb405d6317 --- /dev/null +++ b/tests/controller/helper_route_slash_test.php @@ -0,0 +1,43 @@ +<?php +/** +* +* This file is part of the phpBB Forum Software package. +* +* @copyright (c) phpBB Limited <https://www.phpbb.com> +* @license GNU General Public License, version 2 (GPL-2.0) +* +* For full copyright and license information, please see +* the docs/CREDITS.txt file. +* +*/ + +require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php'; +require_once dirname(__FILE__) . '/common_helper_route.php'; + +class phpbb_controller_helper_route_slash_test extends phpbb_controller_common_helper_route +{ + protected function get_phpbb_root_path() + { + return './../'; + } + + protected function get_uri() + { + return '/phpBB3/app.php'; + } + + protected function get_base_uri() + { + return '/phpBB3'; + } + + protected function get_script_name() + { + return 'app.php'; + } + + protected function path_to_app() + { + return 'phpBB3/'; + } +} |
