From 733d919ec9f7cdb0cc1d34a3e1061406f176201f Mon Sep 17 00:00:00 2001 From: sminnee Date: Sun, 11 Oct 2009 00:46:16 +0000 Subject: [PATCH] ENHANCEMENT: Enable nested urls by default on new projects. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@88519 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- install.php | 6 ++++-- mysite/_config.php | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/install.php b/install.php index ffa55f8..40edc2b 100644 --- a/install.php +++ b/install.php @@ -667,7 +667,8 @@ MySQLDatabase::set_connection_charset('utf8'); // downloaded from http://www.silverstripe.com/themes/ SSViewer::set_theme('$theme'); -?> +// enable nested URLs for this site (e.g. page/sub-page/) +SiteTree::enable_nested_urls(); PHP ); @@ -703,7 +704,8 @@ Director::set_dev_servers($devServers); // downloaded from http://www.silverstripe.com/themes/ SSViewer::set_theme('$theme'); -?> +// enable nested URLs for this site (e.g. page/sub-page/) +SiteTree::enable_nested_urls(); PHP ); } diff --git a/mysite/_config.php b/mysite/_config.php index d36f9d2..ba9066a 100644 --- a/mysite/_config.php +++ b/mysite/_config.php @@ -14,4 +14,5 @@ MySQLDatabase::set_connection_charset('utf8'); // downloaded from http://www.silverstripe.com/themes/ SSViewer::set_theme('blackcandy'); -?> +// enable nested URLs for this site (e.g. page/sub-page/) +SiteTree::enable_nested_urls(); \ No newline at end of file