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');
|
|
|
|
|
|
|
|
// This line set's the current theme. More themes can be
|
|
|
|
// downloaded from http://www.silverstripe.org/themes/
|
|
|
|
SSViewer::set_theme('blackcandy');
|
|
|
|
|
|
|
|
// enable nested URLs for this site (e.g. page/sub-page/)
|
2011-10-29 06:04:21 +02:00
|
|
|
if(class_exists('SiteTree')) SiteTree::enable_nested_urls();
|
2010-05-03 03:32:42 +02:00
|
|
|
|