mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-20 07:55:20 +02:00
66 lines
2.1 KiB
XML
66 lines
2.1 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 1.5 Maintainer: didou Status: ready -->
|
|
|
|
<sect1 id="variable.cache.dir">
|
|
<title>$cache_dir</title>
|
|
<para>
|
|
Il s'agit du nom du répertoire où les caches des templates
|
|
sont stockés. Par défaut il s'agit de
|
|
<filename class="directory">"./cache"</filename>, ce qui signifie
|
|
que Smarty va chercher ce répertoire
|
|
dans le même répertoire que le script PHP en cours d'exécution.
|
|
<emphasis role="bold">Ce dossier doit être accessible en écriture par
|
|
le serveur web</emphasis>
|
|
(<link linkend="installing.smarty.basic">Voir l'installation</link>).
|
|
Vouspouvez aussi utiliser votre propre fonction de
|
|
<link linkend="section.template.cache.handler.func">gestion de cache
|
|
personnalisé</link> pour contrôler les fichiers de cache, qui ignorera
|
|
cette configuration.
|
|
Voir aussi <link linkend="variable.use.sub.dirs">$use_sub_dirs</link>.
|
|
</para>
|
|
<note>
|
|
<title>Note technique</title>
|
|
<para>
|
|
Ce réglage doit être soit un chemin absolu, soit un chemin
|
|
relatif. include_path n'a aucune influence lors de l'écriture des fichiers.
|
|
</para>
|
|
</note>
|
|
<note>
|
|
<title>Note technique</title>
|
|
<para>
|
|
Il n'est pas conseillé de mettre ce répertoire
|
|
dans l'arborescence Web.
|
|
</para>
|
|
</note>
|
|
<para>
|
|
Voir aussi
|
|
<link linkend="variable.caching">$caching</link>,
|
|
<link linkend="variable.use.sub.dirs">$use_sub_dirs</link>,
|
|
<link linkend="variable.cache.lifetime">$cache_lifetime</link>,
|
|
<link linkend="variable.cache.handler.func">$cache_handler_func</link>,
|
|
<link linkend="variable.cache.modified.check">$cache_modified_check</link> et
|
|
la <link linkend="caching">section sur le cache</link>.
|
|
</para>
|
|
</sect1>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
--> |