cvs: php4 /pear/Cache Output.php

From: Date: Fri, 16 Mar 2001 07:58:35 +0000
Subject: cvs: php4 /pear/Cache Output.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4603@lists.php.net to get a copy of this message
sbergmann Thu Mar 15 23:58:35 2001 EDT Modified files: /php4/pear/Cache Output.php Log: Fix the example. Index: php4/pear/Cache/Output.php diff -u php4/pear/Cache/Output.php:1.11 php4/pear/Cache/Output.php:1.12 --- php4/pear/Cache/Output.php:1.11 Sat Mar 10 23:46:58 2001 +++ php4/pear/Cache/Output.php Thu Mar 15 23:58:35 2001 @@ -17,7 +17,7 @@ // | Vinai Kopp <kopp@netzarbeiter.de> | // +----------------------------------------------------------------------+ // -// $Id: Output.php,v 1.11 2001/03/11 07:46:58 sbergmann Exp $ +// $Id: Output.php,v 1.12 2001/03/16 07:58:35 sbergmann Exp $ require_once 'Cache.php'; @@ -50,7 +50,7 @@ * // "post" => $HTTP_POST_VAS" * // "cookie" => $HTTP_COOKIE_VARS * // ); -* $cache_handle = $REQUEST_URI; +* $cache_handle = $cache->generateID($REQUEST_URI); * * // now the magic happens: if cached call die() * // to end the time consumptiong script script execution and use the cached value!

« previous php.cvs (#4603) next »