BUGFIX: Make default mysite/_config.php work when CMS module isnt installed

This commit is contained in:
Hamish Friedlander 2011-10-29 17:04:21 +13:00
parent a0527ce846
commit ceb45f9808

View File

@ -15,5 +15,5 @@ MySQLDatabase::set_connection_charset('utf8');
SSViewer::set_theme('blackcandy');
// enable nested URLs for this site (e.g. page/sub-page/)
SiteTree::enable_nested_urls();
if(class_exists('SiteTree')) SiteTree::enable_nested_urls();