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

@ -8,4 +8,5 @@
* Deprecated `Profiler` class, use third-party solutions like [xhprof](https://github.com/facebook/xhprof/)
* Removed defunct or unnecessary debug GET parameters:
`debug_profile`, `debug_memory`, `profile_trace`, `debug_javascript`, `debug_behaviour`
* Removed `Member_ProfileForm`, use `CMSProfileController` instead
* Removed `Member_ProfileForm`, use `CMSProfileController` instead
* `SiteTree::$nested_urls` enabled by default. To disable, call `SiteTree::disable_nested_urls()`.

View File

@ -16,7 +16,4 @@ 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();
SSViewer::set_theme('simple');