-
Bug
-
Resolution: Fixed
-
Blocker
-
3.1.0-dev
-
None
-
php 5.3.3, MySQL 5.1.66, Chrome 25
After commit 4dcc8cabae670e0ee57a489e7e13c2f93d99753a, the resource locator does not recognize admin template files from extensions. For example, if my extension has a acp module (test_module.php) that uses template file acp_test.html located in root/ext/my/extension/adm/style/acp_test.html, visiting this page in acp results in an error (resource not found in...)
Globalizing the admin path doesn't seem to work well with locating admin template files from extensions. Adding $phpbb_admin_path = (defined('PHPBB_ADMIN_PATH')) ? PHPBB_ADMIN_PATH : './'; back in adm/index.php seems to fix this.
- is duplicated by
-
PHPBB-11384 Resource locator looks in root ./adm/style folder for extensions' ACP template files.
- Closed
- is related to
-
PHPBB-10844 Extensions are not located when front-end file has a diffferent phpbb_root_path
- Closed
-
PHPBB-11549 Resource locator does not find admin template files from extensions
- Closed
- was caused by solution of
-
PHPBB-11384 Resource locator looks in root ./adm/style folder for extensions' ACP template files.
- Closed