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

INCLUDECSS and INCLUDEJS fail on symlink

    Details

    • Type: Bug
    • Status: Awaiting Information (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.7-pl1
    • Fix Version/s: None
    • Component/s: Extensions, Template Engine
    • Labels:
      None
    • Environment:
      PHP 5.3.10, MySQL 5.5.47

      Description

      I have a server with various phpBB installation on it, so to manage the extensions easier I have set a folder containing all the extensions and in every phpBB installation I'm pointing to the needed ones with a symlink ("ln -s /full/path/vendor vendor" inside /ext).
      This works ok except for INCLUDECSS and INCLUDEJS in template files: the url returned is a full path starting with "/server/path/phpbb/ext/" instead of the correct one.

      I tried with

      <!-- INCLUDECSS extension.css -->
      <!-- INCLUDECSS ../theme/extension.css -->
      <!-- INCLUDECSS @vendor_name/extension.css -->
      <!-- INCLUDEJS extension.js -->
      <!-- INCLUDEJS ../template/extension.js -->
      <!-- INCLUDEJS @vendor_name/extension.js -->
      

      but the problem is the same.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              RiccardoB. RiccardoB. [X] (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: