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

Resource URLs wrong if CiviCRM installed in Drupal's sites/<sitename>/modules/civicrm

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      When CiviCRM is installed to DRUPAL_HOME/sites/all/modules/civicrm, resource URLs are generated correctly. However, when it's installed to DRUPAL_HOME/sites/<site-name>/modules/civicrm, resource URLs are not correct and manual intervention is required to set the to proper value.

      During CRM_Core_Config* refactoring, I came over the part of code that is responsible for this and added quick "stub" with FIXMEs. It can be found in CRM_Core_Config_Default:145. The stub handles single case when Drupal site is called "trunk" (which is my developer sandbox address).

        Attachments

          Activity

            People

            • Assignee:
              amit Amiteshwar Prasad
              Reporter:
              mover Michał Mach
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: