| 1 |
--- rob 2008-04-18 11:31:58.000000000 +0100 |
|---|
| 2 |
+++ sfPropelDatabase.class.php 2008-04-18 11:32:47.000000000 +0100 |
|---|
| 3 |
@@ -68,7 +68,7 @@ |
|---|
| 4 |
require_once('creole/Creole.php'); |
|---|
| 5 |
$params = Creole::parseDSN($dsn); |
|---|
| 6 |
|
|---|
| 7 |
- $options = array('phptype', 'hostspec', 'database', 'username', 'password', 'port', 'protocol', 'encoding', 'persistent', 'socket'); |
|---|
| 8 |
+ $options = array('phptype', 'hostspec', 'database', 'username', 'password', 'port', 'protocol', 'encoding', 'persistent', 'socket','compat_assoc_lower','compat_rtrim_string'); |
|---|
| 9 |
foreach ($options as $option) |
|---|
| 10 |
{ |
|---|
| 11 |
if (!$this->getParameter($option) && isset($params[$option])) |
|---|
| 12 |
@@ -93,6 +93,8 @@ |
|---|
| 13 |
'persistent' => $this->getParameter('persistent'), |
|---|
| 14 |
'protocol' => $this->getParameter('protocol'), |
|---|
| 15 |
'socket' => $this->getParameter('socket'), |
|---|
| 16 |
+ 'compat_assoc_lower' => $this->getParameter('compat_assoc_lower'), |
|---|
| 17 |
+ 'compat_rtrim_string' => $this->getParameter('compat_rtrim_string'), |
|---|
| 18 |
), |
|---|
| 19 |
); |
|---|
| 20 |
} |
|---|