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.

General Questions /

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

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

Symlinks and Absolute Paths in GD.php


Reply


930 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?