mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
aa780a5e41
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92237 467b73ca-7a2a-4603-9d3b-597d59a354a9
30 lines
664 B
PHP
30 lines
664 B
PHP
<?php
|
|
|
|
global $project;
|
|
$project = 'mysite';
|
|
|
|
global $databaseConfig;
|
|
$databaseConfig = array(
|
|
"type" => "MySQLDatabase",
|
|
"server" => "localhost",
|
|
"username" => "root",
|
|
"password" => "",
|
|
"database" => "SS_mysite",
|
|
);
|
|
|
|
// Sites running on the following servers will be
|
|
// run in development mode. See
|
|
// http://doc.silverstripe.com/doku.php?id=devmode
|
|
// for a description of what dev mode does.
|
|
Director::set_dev_servers(array(
|
|
'localhost',
|
|
'127.0.0.1',
|
|
));
|
|
|
|
// This line set's the current theme. More themes can be
|
|
// downloaded from http://www.silverstripe.com/themes/
|
|
SSViewer::set_theme('mysite');
|
|
|
|
Security::setDefaultAdmin('admin', 'password');
|
|
|
|
?>
|