Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11362

Resource locator does not find admin template files from extensions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 3.1.0-dev
    • 3.1.0-a1
    • Extensions
    • None
    • php 5.3.3, MySQL 5.1.66, Chrome 25

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              nickvergessen Joas Schilling
              Blitze Blitze [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: