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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


1532 Views

Avatar
quamsta

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?