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

Template include asset doesn't follow namespace lookup order

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-a1
    • 3.1.0-dev
    • Template Engine
    • None

      The namespace lookup order isn't followed when files are included with includeasset (includejs/includecss).

      This causes an issue in events:
      event foo
      includejs foobar.js

      Looks in the phpBB style template directory (e.g. styles/prosilver/template/) rather than the extension's directory (e.g. ext/foo/bar/styles/prosilver/template/).

            EXreaction EXreaction [X] (Inactive)
            EXreaction EXreaction [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: