cvs: smarty /docs/en/programmers/advanced-features section-template-cache-handler-func.xml

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1099044055@cvsserver>
messju		Fri Oct 29 06:00:55 2004 EDT

  Modified files:              
    /smarty/docs/en/programmers/advanced-features	
                                                 	section-template-cache-handler-func.xml 
  Log:
  fixed variable-names in example. thanks to Hpatoio
  
  
  
http://cvs.php.net/diff.php/smarty/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml
diff -u smarty/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml:1.2 smarty/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml:1.3
--- smarty/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml:1.2	Wed Jun 30 09:56:38 2004
+++ smarty/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml	Fri Oct 29 06:00:55 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
   <sect1 id="section.template.cache.handler.func">
    <title>Cache Handler Function</title>
    <para>
@@ -82,9 +82,9 @@
 			$row = mysql_fetch_array($results,MYSQL_ASSOC);
 			
 			if($use_gzip && function_exists("gzuncompress")) {
-				$cache_contents = gzuncompress($row["CacheContents"]);
+				$cache_content = gzuncompress($row["CacheContents"]);
 			} else {
-				$cache_contents = $row["CacheContents"];
+				$cache_content = $row["CacheContents"];
 			}
 			$return = $results;
 			break;

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.