From 0b92a61e5166098481d5a32e8e060e6bf99d315f Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Thu, 18 Jun 2015 16:47:10 +0100 Subject: [PATCH] Updating docs link in default install Fixing the default Content for Homepage to link to docs.silverstripe.org (there's an "s" at the end of "docs") --- code/model/SiteTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php index c2bdd580..6766f74f 100644 --- a/code/model/SiteTree.php +++ b/code/model/SiteTree.php @@ -1442,7 +1442,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid if(!SiteTree::get_by_link(Config::inst()->get('RootURLController', 'default_homepage_link'))) { $homepage = new Page(); $homepage->Title = _t('SiteTree.DEFAULTHOMETITLE', 'Home'); - $homepage->Content = _t('SiteTree.DEFAULTHOMECONTENT', '

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

'); + $homepage->Content = _t('SiteTree.DEFAULTHOMECONTENT', '

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

'); $homepage->URLSegment = Config::inst()->get('RootURLController', 'default_homepage_link'); $homepage->Sort = 1; $homepage->write();