[dev] SessionHandler problem solved [patch]

Marc Jauvin marc at register4less.com
Fri Dec 5 09:24:45 PST 2003


OK, there was invalid references within the SessionHandler.php code. Here is a
patch against HEAD:


Index: framework/SessionHandler/SessionHandler.php
===================================================================
RCS file: /repository/framework/SessionHandler/SessionHandler.php,v
retrieving revision 1.8
diff -u -r1.8 SessionHandler.php
--- framework/SessionHandler/SessionHandler.php 5 Nov 2003 03:33:15 -0000      
1.8
+++ framework/SessionHandler/SessionHandler.php 5 Dec 2003 17:23:38 -0000
@@ -42,7 +42,7 @@
         $driver = basename($driver);

         if (is_null($params)) {
-            require_once dirname(__FILE__) . '/Horde.php';
+            require_once HORDE_BASE . '/lib/Horde.php';
             $params = Horde::getDriverConfig('prefs', $driver);
         }

@@ -85,7 +85,7 @@
         }

         if (is_null($params)) {
-            require_once dirname(__FILE__) . '/Horde.php';
+            require_once HORDE_BASE . '/lib/Horde.php';
             $params = Horde::getDriverConfig('sessionhandler', $driver);
         }



--
Marc Jauvin
http://register4less.com
450-441-5458


More information about the dev mailing list