NEW Enable SiteTree::$nested_urls by default

This commit is contained in:
Ingo Schommer 2012-10-08 17:01:53 +02:00
parent d1ee7612f5
commit 38e7df2e91
2 changed files with 3 additions and 5 deletions

View File

@ -9,3 +9,4 @@
* Removed defunct or unnecessary debug GET parameters:
`debug_profile`, `debug_memory`, `profile_trace`, `debug_javascript`, `debug_behaviour`
* Removed `Member_ProfileForm`, use `CMSProfileController` instead
* `SiteTree::$nested_urls` enabled by default. To disable, call `SiteTree::disable_nested_urls()`.

View File

@ -17,6 +17,3 @@ MySQLDatabase::set_connection_charset('utf8');
// Set the current theme. More themes can be downloaded from
// http://www.silverstripe.org/themes/
SSViewer::set_theme('simple');
// Enable nested URLs for this site (e.g. page/sub-page/)
if(class_exists('SiteTree')) SiteTree::enable_nested_urls();