Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13638

INCLUDECSS and INCLUDEJS Broken in 3.2

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 3.2.0-dev
    • 3.2.0-a1
    • ACP, Template Engine
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: