cvs: php4(PHP_4_0_7) /pear/Cache/Container file.php

From: Date: Tue, 09 Oct 2001 09:15:34 +0000
Subject: cvs: php4(PHP_4_0_7) /pear/Cache/Container file.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-961@lists.php.net to get a copy of this message
chregu Tue Oct 9 05:15:34 2001 EDT Modified files: (Branch: PHP_4_0_7) /php4/pear/Cache/Container file.php Log: MFH (was a 9->10 char unix time bug...) Index: php4/pear/Cache/Container/file.php diff -u php4/pear/Cache/Container/file.php:1.16 php4/pear/Cache/Container/file.php:1.16.2.1 --- php4/pear/Cache/Container/file.php:1.16 Sat Aug 11 04:08:06 2001 +++ php4/pear/Cache/Container/file.php Tue Oct 9 05:15:33 2001 @@ -16,7 +16,7 @@ // | Sebastian Bergmann <sb@sebastian-bergmann.de> | // +----------------------------------------------------------------------+ // -// $Id: file.php,v 1.16 2001/08/11 08:08:06 sebastian Exp $ +// $Id: file.php,v 1.16.2.1 2001/10/09 09:15:33 chregu Exp $ require_once 'Cache/Container.php'; @@ -24,7 +24,7 @@ * Stores cache contents in a file. * * @author Ulf Wendel <ulf.wendel@phpdoc.de> -* @version $Id: file.php,v 1.16 2001/08/11 08:08:06 sebastian Exp $ +* @version $Id: file.php,v 1.16.2.1 2001/10/09 09:15:33 chregu Exp $ */ class Cache_Container_file extends Cache_Container { @@ -110,7 +110,7 @@ // 1st line: expiration date // 2nd line: user data // 3rd+ lines: cache data - $expire = trim(fgets($fh, 11)); + $expire = trim(fgets($fh, 12)); $userdata = trim(fgets($fh, 257)); $cachedata = $this->decode(fread($fh, filesize($file))); fclose($fh);

« previous php.pear.cvs (#961) next »