mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-09 00:31:45 +01:00
70 lines
2.3 KiB
XML
70 lines
2.3 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision$ -->
|
|
<sect1 id="variable.cache.dir">
|
|
<title>$cache_dir</title>
|
|
<para>
|
|
Ini adalah nama direktori di mana cache template disimpan. Standarnya
|
|
adalah <filename class="directory">./cache</filename>, berarti bahwa
|
|
Smarty akan mencari direktori <filename class="directory">cache/</filename>
|
|
di direktori yang sama seperti naskah php yang dijalankan
|
|
<emphasis role="bold">direktori ini harus bisa ditulisi oleh server web
|
|
</emphasis>,
|
|
<link linkend="installing.smarty.basic">lihat instalasi</link> untuk info
|
|
lebih lengkap.
|
|
</para>
|
|
<para>
|
|
Anda juga dapat menggunakan fungsi <link linkend="section.template.cache.handler.func">
|
|
pengendali cache kustom</link> sendiri guna mengontrol file cache, yang akan
|
|
mengabaikan setelan ini.
|
|
Lihat juga
|
|
<link linkend="variable.use.sub.dirs"><parameter>$use_sub_dirs</parameter></link>.
|
|
</para>
|
|
<note>
|
|
<title>Catatan Teknis</title>
|
|
<para>
|
|
Setelan ini harus path relatif atau absolut. include_path tidak dipakai
|
|
untuk menulis file.
|
|
</para>
|
|
</note>
|
|
<note>
|
|
<title>Catatan Teknis</title>
|
|
<para>
|
|
Tidak direkomendasikan untuk menyimpan direktori ini di bawah akar
|
|
dokumen server web.
|
|
</para>
|
|
</note>
|
|
|
|
<para>
|
|
Lihat juga
|
|
<link linkend="variable.caching"><parameter>$caching</parameter></link>,
|
|
<link linkend="variable.use.sub.dirs"><parameter>$use_sub_dirs</parameter></link>,
|
|
<link linkend="variable.cache.lifetime"><parameter>$cache_lifetime</parameter></link>,
|
|
<link linkend="variable.cache.handler.func"><parameter>$cache_handler_func</parameter></link>,
|
|
<link linkend="variable.cache.modified.check"><parameter>$cache_modified_check</parameter></link>
|
|
dan
|
|
<link linkend="caching">seksi caching</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
|
|
-->
|
|
|