[21212] Fixing #23386 for session reading.

Caeies <[email protected]> Wed, 05 May 2010 10:42:03 +0000
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 21212
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=21212
Author:   Caeies
Date:     2010-05-05 10:42:02 +0000 (Wed, 05 May 2010)
Log Message:
-----------
Fixing #23386 for session reading. Closes #23386.

Modified Paths:
--------------
    modules/phpgwapi/branches/branch_0_9_16/inc/class.sessions_php4.inc.php

Modified: modules/phpgwapi/branches/branch_0_9_16/inc/class.sessions_php4.inc.php
===================================================================
--- modules/phpgwapi/branches/branch_0_9_16/inc/class.sessions_php4.inc.php	2010-05-02 20:27:30 UTC (rev 21211)
+++ modules/phpgwapi/branches/branch_0_9_16/inc/class.sessions_php4.inc.php	2010-05-05 10:42:02 UTC (rev 21212)
@@ -210,7 +210,7 @@
 						unset($session_cache[$file]);
 					}
 				}
-				if ( !isset($session_cache[$file]) && is_readable($file) )// not in cache, read and cache it
+				if ( !isset($session_cache[$file]) && is_readable($path . '/' . $file) )// not in cache, read and cache it
 				{
           $fd = fopen ($path . '/' . $file,'r');
           $fs = filesize ($path . '/' . $file);