summaryrefslogtreecommitdiff
path: root/installer/database_config.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-04-23 23:58:16 +0000
committerBharat Mediratta <bharat@menalto.com>2009-04-23 23:58:16 +0000
commite30c023bd3359ae81be1c1108b4c71627dc459d4 (patch)
treeae5799e6cfd83651ed59c1e75e1eb66620873d60 /installer/database_config.php
parent7bd44b22e296b7145750c26183c1c9d1bdf6497b (diff)
Use single quotes so that user data containing $ doesn't suffer
variable interpolation. Fixes ticket #229.
Diffstat (limited to 'installer/database_config.php')
-rw-r--r--installer/database_config.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/installer/database_config.php b/installer/database_config.php
index eac55b96..a31119ac 100644
--- a/installer/database_config.php
+++ b/installer/database_config.php
@@ -25,21 +25,21 @@
* cache - Enable or disable query caching
* escape - Enable automatic query builder escaping
*/
-$config["default"] = array(
- "benchmark" => false,
- "persistent" => false,
- "connection" => array(
- "type" => "<?php print $type ?>",
- "user" => "<?php print $user ?>",
- "pass" => "<?php print $password ?>",
- "host" => "<?php print $host ?>",
- "port" => false,
- "socket" => false,
- "database" => "<?php print $dbname ?>"
+$config['default'] = array(
+ 'benchmark' => false,
+ 'persistent' => false,
+ 'connection' => array(
+ 'type' => '<?php print $type ?>',
+ 'user' => '<?php print $user ?>',
+ 'pass' => '<?php print $password ?>',
+ 'host' => '<?php print $host ?>',
+ 'port' => false,
+ 'socket' => false,
+ 'database' => '<?php print $dbname ?>'
),
- "character_set" => "utf8",
- "table_prefix" => "<?php print $prefix ?>",
- "object" => true,
- "cache" => false,
- "escape" => true
+ 'character_set' => 'utf8',
+ 'table_prefix' => '<?php print $prefix ?>',
+ 'object' => true,
+ 'cache' => false,
+ 'escape' => true
); \ No newline at end of file