mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
fd1a4dde05
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@97590 467b73ca-7a2a-4603-9d3b-597d59a354a9
31 lines
630 B
PHP
31 lines
630 B
PHP
<?php
|
|
|
|
global $project;
|
|
$project = 'mysite';
|
|
|
|
global $database;
|
|
$database = "";
|
|
|
|
require_once("conf/ConfigureFromEnv.php");
|
|
|
|
MySQLDatabase::set_connection_charset('utf8');
|
|
|
|
// Use SQLite on this project
|
|
/*
|
|
global $databaseConfig;
|
|
$databaseConfig = array(
|
|
"type" => "SQLite3Database",
|
|
"memory" => true, // only used for testing
|
|
"path" => ASSETS_PATH,
|
|
"database" => "data.sqlite",
|
|
|
|
);
|
|
*/
|
|
|
|
// This line set's the current theme. More themes can be
|
|
// downloaded from http://www.silverstripe.com/themes/
|
|
SSViewer::set_theme('blackcandy');
|
|
|
|
// enable nested URLs for this site (e.g. page/sub-page/)
|
|
SiteTree::enable_nested_urls();
|