Hi,

We are experiencing an issue where fonts are being correctly imported but the script just isn't added to the site.

Having a closer look it seems that the use of dirname($_SERVER['SCRIPT_FILENAME']) to set the base directory for the site is causing issues on our staging server where the value of this is set to /usr/lib/cgi-bin. Would we be able to use a different variable such as $_SERVER['DOCUMENT_ROOT'] instead?

Thanks,

Leanne

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yeebot created an issue. See original summary.

yeebot’s picture

Attached is a patch amending the base directories as relevant.

Neslee Canil Pinto’s picture

Status: Active » Closed (outdated)