2009-11-21 00:42:47 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
global $project;
|
|
|
|
$project = 'mysite';
|
|
|
|
|
|
|
|
global $database;
|
2010-10-20 02:00:13 +00:00
|
|
|
$database = '';
|
2009-11-21 00:42:47 +00:00
|
|
|
|
2010-10-20 02:00:13 +00:00
|
|
|
require_once('conf/ConfigureFromEnv.php');
|
2009-11-21 00:42:47 +00: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 17:04:21 +13:00
|
|
|
if(class_exists('SiteTree')) SiteTree::enable_nested_urls();
|
2010-05-03 01:32:42 +00:00
|
|
|
|