Home ›
Serving static content from a different domain in Drupal 7 | drupal4huServing static content from a different domain in Drupal 7 | drupal4hu
Submitted by Benjamin Melançon on August 12, 2010 - 12:50am
Link Title and URL:
Serving static content from a different domain in Drupal 7 | drupal4hu It seems that some theme stuff (like the favicon and the logo and probably unaggregated CSS/JS) is passed as Drupal paths into file_create_url while aggregated CSS and JS is served from public://. So we need to implement file_url_alter and override the getExternalUrl of the DrupalPublicWrapper class
Comments
Post new comment