2009-11-19 21:26:31 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
global $project;
|
|
|
|
$project = 'mysite';
|
|
|
|
|
|
|
|
global $database;
|
2010-04-09 06:56:39 +02:00
|
|
|
$database = 'SS_ss24';
|
2009-11-19 21:26:31 +01:00
|
|
|
|
2010-03-13 08:46:37 +01: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');
|
|
|
|
|
2010-04-09 06:56:39 +02:00
|
|
|
// Set the site locale
|
|
|
|
i18n::set_locale('en_US');
|
|
|
|
|
2009-11-19 21:26:31 +01:00
|
|
|
// enable nested URLs for this site (e.g. page/sub-page/)
|
2009-12-14 23:55:18 +01:00
|
|
|
SiteTree::enable_nested_urls();
|
2010-04-09 06:56:39 +02:00
|
|
|
|
|
|
|
// Mollom config
|
|
|
|
Mollom::setPublicKey("1819023dfcb10a667d10bd1578c5f39b");
|
|
|
|
Mollom::setPrivateKey("2430fcbd65756ac6732a54a7c9ada116");
|
|
|
|
SpamProtectorManager::set_spam_protector('MollomSpamProtector');
|