fix ssl params in splitread config
authorChuck Hagenbuch <chuck@horde.org>
Wed, 25 Feb 2009 05:37:14 +0000 (00:37 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Wed, 25 Feb 2009 05:37:14 +0000 (00:37 -0500)
framework/SessionHandler/lib/Horde/SessionHandler/Sql.php
framework/Token/lib/Horde/Token/Sql.php

index 4f7ea5e..ab62dea 100644 (file)
@@ -99,7 +99,7 @@ class Horde_SessionHandler_Sql extends Horde_SessionHandler
             $params = array_merge($this->_params, $this->_params['read']);
             $this->_db = &DB::connect($params,
                                       array('persistent' => !empty($params['persistent']),
-                                            'ssl' => !empty($this->_params['ssl'])));
+                                            'ssl' => !empty($params['ssl'])));
             if (is_a($this->_db, 'PEAR_Error')) {
                 throw new Horde_Exception($this->_db);
             }
index 3a5d141..464292d 100644 (file)
@@ -220,7 +220,7 @@ class Horde_Token_Sql extends Horde_Token
             $params = array_merge($this->_params, $this->_params['read']);
             $this->_db = &DB::connect($params,
                                       array('persistent' => !empty($params['persistent']),
-                                            'ssl' => !empty($this->_params['ssl'])));
+                                            'ssl' => !empty($params['ssl'])));
             if (is_a($this->_db, 'PEAR_Error')) {
                 return $this->_db;
             }