mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
21 lines
482 B
PHP
21 lines
482 B
PHP
<?php
|
|
|
|
global $project;
|
|
$project = 'mysite';
|
|
|
|
global $database;
|
|
$database = 'SS_ss30';
|
|
|
|
require_once('conf/ConfigureFromEnv.php');
|
|
|
|
MySQLDatabase::set_connection_charset('utf8');
|
|
|
|
// 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(); |