mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.3@71151 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
bdb638e58e
commit
10dca7fa20
30
mysite/_config_example.php
Normal file
30
mysite/_config_example.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?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');
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user