[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.sessions_php4.inc.php [Version-0_9
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.sessions_php4.inc.php [Version-0_9_16-branch] |
Date: |
Tue, 03 Apr 2007 11:16:54 +0000 |
CVSROOT: /sources/phpgwapi
Module name: phpgwapi
Branch: Version-0_9_16-branch
Changes by: Dave Hall <skwashd> 07/04/03 11:16:54
Modified files:
inc : class.sessions_php4.inc.php
Log message:
check perms before trying to read session files
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.sessions_php4.inc.php?cvsroot=phpgwapi&only_with_tag=Version-0_9_16-branch&r1=1.6.2.10.2.16&r2=1.6.2.10.2.17
Patches:
Index: class.sessions_php4.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/Attic/class.sessions_php4.inc.php,v
retrieving revision 1.6.2.10.2.16
retrieving revision 1.6.2.10.2.17
diff -u -b -r1.6.2.10.2.16 -r1.6.2.10.2.17
--- class.sessions_php4.inc.php 15 Jul 2004 00:46:44 -0000 1.6.2.10.2.16
+++ class.sessions_php4.inc.php 3 Apr 2007 11:16:54 -0000 1.6.2.10.2.17
@@ -8,7 +8,7 @@
* @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General
Public License
* @package phpgwapi
* @subpackage accounts
- * @version $Id: class.sessions_php4.inc.php,v 1.6.2.10.2.16 2004/07/15
00:46:44 skwashd Exp $
+ * @version $Id: class.sessions_php4.inc.php,v 1.6.2.10.2.17 2007/04/03
11:16:54 skwashd Exp $
*/
/**
@@ -210,7 +210,7 @@
unset($session_cache[$file]);
}
}
- if (!isset($session_cache[$file])) // not
in cache, read and cache it
+ if ( !isset($session_cache[$file]) &&
is_readable($file) )// not in cache, read and cache it
{
$fd = fopen ($path . '/' . $file,'r');
$fs = filesize ($path . '/' . $file);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.sessions_php4.inc.php [Version-0_9_16-branch],
Dave Hall <=