Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Installer generated mysite/_config.php file now has consistent …

…code formatting (from r100984)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112210 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit dd1af76763f7d03f8a909c3b8ee7ddbbabfe5fea 1 parent 8654d46
sminnee authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 install.php
View
12 install.php
@@ -842,9 +842,9 @@ function install($config) {
\$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 @@ function install($config) {
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
Please sign in to comment.
Something went wrong with that request. Please try again.