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');
|
|
|
|
|
2012-02-09 15:36:55 +00:00
|
|
|
// Set the current theme. More themes can be
|
2009-11-21 00:42:47 +00:00
|
|
|
// downloaded from http://www.silverstripe.org/themes/
|
|
|
|
SSViewer::set_theme('blackcandy');
|
|
|
|
|
2012-02-09 15:36:55 +00:00
|
|
|
// 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
|
|
|
|