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

Change "assets" file path


3 Posts   301 Views


14 December 2013 at 7:33am Community Member, 3 Posts

Hi, i have 2 silverstripes installed, but I need them to share the same assets folder because the images are the same, how to i get one of them to do that?

I've changed couple files like core.php and other one but nothing happened. Can anyone help me?



14 December 2013 at 8:36pm Community Member, 94 Posts

You use anywhere a uploadfield? Try this:

$uploadField = new UploadField(
$name = 'GalleryImages',
$title = 'Please upload one or more images' )


17 December 2013 at 3:29am Community Member, 3 Posts

I use in one of them, the other one (cms) was made to be static, using the content from the first one. All I need is to one of them to recognize the assets folder in another directory, not in the cms root. Thanks!