Jump to:

5453 Posts in 1674 Topics by 1198 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Multiple Sites, One Install...

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

Page: 1
Go to End
Author Topic: 1060 Views
  • JamesS
    Avatar
    Community Member
    5 Posts

    Multiple Sites, One Install... Link to this post

    I'm wondering if anyone can help clarify this issue for me. Getting Silverstripe running off one codebase seems a common question in the formus, but no clear resolution... I am trying to get Silverstripe working off one codebase to make updating multiple sites easier. All the core directories/files are referenced back to one location using symbolic links for each SS install. Everything works great, except when the sapphire folder is moved outside the directory root (eg /var/silverstripe/), it breaks as the assets folder is being looked for with a relative url, relative to the document root. From what I can make out from other forum posts, changes need to be made to the gd.php, files.php and folders.php files in the sapphire framework to make sapphire follow an absolute path to the assets directory instead of relative. My question is what changes need to be made??? Can anyone who has got this working help?? This would be a great addition to commit to the SS core at some stage as there seems to be alot of questions regarding this issue.

    1060 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.