2009-11-19 21:26:31 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
global $project;
|
|
|
|
$project = 'mysite';
|
|
|
|
|
|
|
|
global $database;
|
2010-06-27 23:55:52 +02:00
|
|
|
$database = '';
|
2009-11-19 21:26:31 +01:00
|
|
|
|
2010-10-24 08:47:18 +02:00
|
|
|
require_once('conf/ConfigureFromEnv.php');
|
2009-11-19 21:26:31 +01:00
|
|
|
|
|
|
|
MySQLDatabase::set_connection_charset('utf8');
|
|
|
|
|
|
|
|
// This line set's the current theme. More themes can be
|
2010-02-13 05:07:52 +01:00
|
|
|
// downloaded from http://www.silverstripe.org/themes/
|
2009-11-19 21:26:31 +01:00
|
|
|
SSViewer::set_theme('blackcandy');
|
|
|
|
|
|
|
|
// enable nested URLs for this site (e.g. page/sub-page/)
|
2009-12-14 23:55:18 +01:00
|
|
|
SiteTree::enable_nested_urls();
|