diff --git a/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml b/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml index a664da3e..f0dbc97f 100644 --- a/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml +++ b/docs/en/programmers/advanced-features/section-template-cache-handler-func.xml @@ -74,7 +74,7 @@ function mysql_cache_handler($action, &$smarty_obj, &$cache_content, $tpl_file=n switch ($action) { case 'read': - // save cache to database + // read cache from database $results = mysql_query("select CacheContents from CACHE_PAGES where CacheID='$CacheID'"); if(!$results) { $smarty_obj->_trigger_error_msg("cache_handler: query failed."); @@ -154,4 +154,4 @@ End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> \ No newline at end of file +-->