Files
smarty/docs/fr/programmers/smarty-constants.xml

54 lines
1.3 KiB
XML
Raw Normal View History

2004-03-28 15:18:13 +00:00
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
2004-05-23 15:50:53 +00:00
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<chapter id="smarty.constants">
<title>Constantes</title>
<para></para>
<sect1 id="constant.smarty.dir">
<title>SMARTY_DIR</title>
<para>
Il doit s'agir du chemin complet du r<>pertoire o<>
se trouvent les fichiers classes de Smarty.
S'il n'est pas d<>fini, Smarty essaiera alors d'en
d<>terminer automatiquement la valeur.
S'il est d<>fini, le chemin doit se terminer par un slash.
</para>
<example>
<title>SMARTY_DIR</title>
<programlisting role="php">
2004-03-29 10:26:13 +00:00
<![CDATA[
<?php
2004-03-29 01:40:48 +00:00
// d<>finit le chemin du r<>pertoire de Smarty
2004-03-28 15:18:13 +00:00
define("SMARTY_DIR","/usr/local/lib/php/Smarty/");
2004-03-29 10:26:13 +00:00
require_once(SMARTY_DIR."Smarty.class.php");
?>
]]>
2004-05-23 15:50:53 +00:00
</programlisting>
</example>
</sect1>
2004-03-28 15:18:13 +00:00
</chapter>
<!-- 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
2004-03-29 01:40:48 +00:00
-->