2009-11-21 01:42:47 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
global $project;
|
|
|
|
$project = 'mysite';
|
|
|
|
|
|
|
|
global $database;
|
2010-10-20 04:00:13 +02:00
|
|
|
$database = '';
|
2009-11-21 01:42:47 +01:00
|
|
|
|
2010-10-20 04:00:13 +02:00
|
|
|
require_once('conf/ConfigureFromEnv.php');
|
2009-11-21 01:42:47 +01:00
|
|
|
|
|
|
|
MySQLDatabase::set_connection_charset('utf8');
|
|
|
|
|
2012-03-09 05:31:51 +01:00
|
|
|
// Set the current theme. More themes can be downloaded from
|
|
|
|
// http://www.silverstripe.org/themes/
|
2009-11-21 01:42:47 +01:00
|
|
|
SSViewer::set_theme('blackcandy');
|
|
|
|
|
2012-02-09 16:36:55 +01:00
|
|
|
// Enable nested URLs for this site (e.g. page/sub-page/)
|
2012-03-09 05:31:51 +01:00
|
|
|
if(class_exists('SiteTree')) SiteTree::enable_nested_urls();
|