Added mysite/_config/config.yml, removed obsolete PHP config (#8317)

This commit is contained in:
Ingo Schommer 2013-03-15 18:02:21 +01:00
parent f8762ef204
commit bac9e2fc00
2 changed files with 10 additions and 8 deletions

View File

@ -8,12 +8,5 @@ $database = '';
require_once('conf/ConfigureFromEnv.php');
// Set the current theme. More themes can be downloaded from
// http://www.silverstripe.org/themes/
SSViewer::set_theme('simple');
// Set the site locale
i18n::set_locale('en_US');
// Enable nested URLs for this site (e.g. page/sub-page/)
if (class_exists('SiteTree')) SiteTree::enable_nested_urls();
i18n::set_locale('en_US');

View File

@ -0,0 +1,9 @@
---
Name: mysite
After: 'framework/*','cms/*'
---
# YAML configuration for SilverStripe
# See http://doc.silverstripe.org/framework/en/topics/configuration
# Caution: Indentation through two spaces, not tabs
SSViewer:
theme: 'simple'