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

INCLUDECSS and INCLUDEJS Broken in 3.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.2.0-a1
    • 3.2.0-dev
    • ACP, Template Engine
    • None
    • PHP 5.5.16

      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

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

              Created:
              Updated:
              Resolved: