mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-09 03:01:18 +02:00
19 lines
428 B
PHP
19 lines
428 B
PHP
<?php
|
|
|
|
global $project;
|
|
$project = 'mysite';
|
|
|
|
global $database;
|
|
$database = '';
|
|
|
|
require_once('conf/ConfigureFromEnv.php');
|
|
|
|
global $databaseConfig;
|
|
$databaseConfig['memory'] = true;
|
|
$databaseConfig['path'] = dirname(dirname(__FILE__)) .'/assets/';
|
|
|
|
MySQLDatabase::set_connection_charset('utf8');
|
|
|
|
// Set the current theme. More themes can be downloaded from
|
|
// http://www.silverstripe.org/themes/
|
|
SSViewer::set_theme('simple'); |