Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/'; | ||
} | ||
} |