mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
Added mysite/_config/config.yml, removed obsolete PHP config (#8317)
This commit is contained in:
parent
f8762ef204
commit
bac9e2fc00
@ -8,12 +8,5 @@ $database = '';
|
|||||||
|
|
||||||
require_once('conf/ConfigureFromEnv.php');
|
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
|
// Set the site locale
|
||||||
i18n::set_locale('en_US');
|
i18n::set_locale('en_US');
|
||||||
|
|
||||||
// Enable nested URLs for this site (e.g. page/sub-page/)
|
|
||||||
if (class_exists('SiteTree')) SiteTree::enable_nested_urls();
|
|
9
mysite/_config/config.yml
Normal file
9
mysite/_config/config.yml
Normal 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'
|
Loading…
Reference in New Issue
Block a user