Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Symlinks and Absolute Paths in GD.php

Go to End



Community Member, 29 Posts

11 June 2009 at 7:07am

Hi, I'm working on several SilverStripe-based sites and I'm having some issues with uploaded assets when I share sapphire, core, and jsparty between these sites via symlinks.

It appears that SilverStripe's backend uses relative paths to find uploaded assets and other things. I've read through some topics and UncleCheese said that if symlinks are used, then File.php, GD.php, and Folder.php would have to be modified to use absolute paths. How can I do this?