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