summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--installer/database_config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/database_config.php b/installer/database_config.php
index a31119ac..0f04b95c 100644
--- a/installer/database_config.php
+++ b/installer/database_config.php
@@ -31,7 +31,7 @@ $config['default'] = array(
'connection' => array(
'type' => '<?php print $type ?>',
'user' => '<?php print $user ?>',
- 'pass' => '<?php print $password ?>',
+ 'pass' => '<?php print str_replace("'", "\\'", $password) ?>',
'host' => '<?php print $host ?>',
'port' => false,
'socket' => false,