Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#2 | fontyourface-font_directory_update-2610270-2.patch | 3.46 KB | yeebot |
Comments
Comment #2
yeebot CreditAttribution: yeebot commentedAttached is a patch amending the base directories as relevant.
Comment #3
Neslee Canil Pinto