Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5
-
Fix Version/s: 2.2.6
-
Component/s: Core CiviCRM
-
Labels:None
Description
It looks like in 2.2 an attempt was made to shorten urls by removing the domain of the CiviCRM Resource URL.
This means you can no longer use a static file server for your images/css.
One solution is to change CRM/Core/Config.php like this:
< $this->resourceBase = $rrb['path'];
—
> $this->resourceBase = ($rrb['host'] == $_SERVER['HTTP_HOST']) ? $rrb['path'] : $this->userFrameworkResourceURL;
Although I'm not sure that it'll work for javascript.