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 <[EMAIL PROTECTED]>                           |
 // +----------------------------------------------------------------------+
 //
-// $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!



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to