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

Template include asset doesn't follow namespace lookup order

    XMLWordPrintable

Details

    Description

      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/).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: