sync with EN

This commit is contained in:
yannick
2006-05-22 08:46:06 +00:00
parent 5518944ab9
commit 2cc677bfbc
6 changed files with 28 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready -->
<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready -->
<sect1 id="caching.setting.up">
<title>Param<EFBFBD>trer le cache</title>
@@ -17,7 +17,7 @@
require('Smarty.class.php');
$smarty = new Smarty;
$smarty->caching = true;
$smarty->caching = 1;
$smarty->display('index.tpl');
?>
@@ -37,7 +37,7 @@ $smarty->display('index.tpl');
<para>
Les fichiers situ<74>s dans <link linkend="variable.cache.dir">$cache_dir</link>
sont nomm<6D>s de la m<>me fa<66>on que les templates.
Bien qu'ils aient une extension ".php", ils ne sont pas vraiment ex<65>cutable.
Bien qu'ils aient une extension ".php", ils ne sont pas vraiment directement ex<EFBFBD>cutable.
N'<27>ditez surtout pas ces fichiers !
</para>
</note>
@@ -97,7 +97,7 @@ $smarty->display('home.tpl');
require('Smarty.class.php');
$smarty = new Smarty;
$smarty->caching = true;
$smarty->caching = 1;
$smarty->compile_check = true;
$smarty->display('index.tpl');
@@ -111,7 +111,7 @@ $smarty->display('index.tpl');
d<>sactiver le cache. <link linkend="variable.force.compile">$force_compile</link>
est utilis<69> <20> des fins de <link linkend="chapter.debugging.console">d<EFBFBD>bogage</link>,
un moyen plus efficace de d<>sactiver le cache est de r<>gler
<link linkend="variable.caching">$caching</link> = false (ou 0).
<link linkend="variable.caching">$caching</link> = 0.
</para>
<para>
La fonction <link linkend="api.is.cached">is_cached()</link> permet
@@ -128,7 +128,7 @@ $smarty->display('index.tpl');
require('Smarty.class.php');
$smarty = new Smarty;
$smarty->caching = true;
$smarty->caching = 1;
if(!$smarty->is_cached('index.tpl')) {
// pas de cache disponible, on assigne
@@ -167,7 +167,7 @@ $smarty->display('index.tpl');
require('Smarty.class.php');
$smarty = new Smarty;
$smarty->caching = true;
$smarty->caching = 1;
// efface tous les fichiers du cache
$smarty->clear_all_cache();