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

INCLUDECSS and INCLUDEJS Broken in 3.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-dev
    • Fix Version/s: 3.2.0-a1
    • Component/s: ACP, Template Engine
    • Labels:
      None
    • Environment:
      PHP 5.5.16

      Description

      Using INCLUDECSS and INCLUDEJS no longer behave as they do in 3.1, and fail to find the designated files in the ACP of 3.2.x.

      In an /adm/style/template file:
      <!-- INCLUDECSS file.css --> or
      <!-- INCLUDECSS @acme_demo/file.css -->
      Neither work. Both try to locate files by using the full root path in the url.

      So you get, which does not exist:

      http://localhost:8888/Users/path/to/htdocs/phpBB/ext/acme/demo/adm/style/file.css

      Instead of the expected:

      http://localhost:8888/phpBB/ext/acme/demo/adm/style/file.css

        Attachments

          Activity

            People

            Assignee:
            nicofuma nicofuma
            Reporter:
            VSE Matt Friedman [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: