Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-12030

CRM_Core_Resources->addScriptFile fails on windows machines

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      This is because of \ rather than a / being added

      CRM_Extension_Container_Basic-> getRelPaths is the fn that gets the paths & it calls
      CRM_Utils_File::findFiles($this->baseDir, 'info.xml');

      which adds a system var DIRECTORY_SEPARATOR into the string

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: