mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 15:05:33 +00:00
MINOR Installer generated mysite/_config.php file now has consistent code formatting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100984 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
0be476a632
commit
412b26a30c
12
install.php
12
install.php
@ -842,9 +842,9 @@ global \$project;
|
||||
\$project = 'mysite';
|
||||
|
||||
global \$database;
|
||||
\$database = "{$config['db']['database']}";
|
||||
\$database = '{$config['db']['database']}';
|
||||
|
||||
require_once("conf/ConfigureFromEnv.php");
|
||||
require_once('conf/ConfigureFromEnv.php');
|
||||
|
||||
MySQLDatabase::set_connection_charset('utf8');
|
||||
|
||||
@ -875,11 +875,11 @@ global \$project;
|
||||
|
||||
global \$databaseConfig;
|
||||
\$databaseConfig = array(
|
||||
"type" => "{$config['db']['type']}",
|
||||
"server" => "{$config['db']['server']}",
|
||||
"username" => "{$config['db']['username']}",
|
||||
"type" => '{$config['db']['type']}',
|
||||
"server" => '{$config['db']['server']}',
|
||||
"username" => '{$config['db']['username']}',
|
||||
"password" => '{$escapedPassword}',
|
||||
"database" => "{$config['db']['database']}",
|
||||
"database" => '{$config['db']['database']}',
|
||||
);
|
||||
|
||||
// Sites running on the following servers will be
|
||||
|
Loading…
x
Reference in New Issue
Block a user