cvs: smarty /docs/ru/programmers smarty-constants.xml
"George Miroshnikov" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsfreespace1095455187@cvsserver> |
freespace Fri Sep 17 17:06:27 2004 EDT
Modified files:
/smarty/docs/ru/programmers smarty-constants.xml
Log:
Fresh sync and some structure updates.
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/smarty-constants.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/ru/programmers/smarty-constants.xml
diff -u smarty/docs/ru/programmers/smarty-constants.xml:1.5 smarty/docs/ru/programmers/smarty-constants.xml:1.6
--- smarty/docs/ru/programmers/smarty-constants.xml:1.5 Mon Jul 19 09:11:30 2004
+++ smarty/docs/ru/programmers/smarty-constants.xml Fri Sep 17 17:06:26 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="windows-1251"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.2 Maintainer: tony2001 Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.3 Maintainer: freespace Status: ready -->
<chapter id="smarty.constants">
<title>Êîíñòàíòû</title>
@@ -14,18 +14,41 @@
</para>
<example>
<title>SMARTY_DIR</title>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
-
-// set path to Smarty directory
+<?php
+// óñòàíîâêà ïóòè ê äèðåêòîðèè Smarty
define("SMARTY_DIR","/usr/local/lib/php/Smarty/");
-require_once(SMARTY_DIR."Smarty.class.php");
+require_once(SMARTY_DIR."Smarty.class.php");
+?>
]]>
- </programlisting>
+ </programlisting>
</example>
</sect1>
+ <sect1 id="constant.smarty.core.dir">
+ <title>SMARTY_CORE_DIR</title>
+ <para>
+ Ýòî ïîëíûé ïóòü ê ôàéëàì ÿäðà (core) Smarty.
+ Åñëè îí íå óñòàíîâëåí, Smarty áóäåò èñïîëüçîâàòü çíà÷åíèå ïî óìîë÷àíèþ
+ - ïóòü ê ïîääèðåêòîðèè internals/ äèðåêòîðèè SMARTY_DIR.
+ Åñëè êîíñòàíòà îïðåäåëåíà, ïóòü äîëæåí çàêàí÷èâàòüñÿ ñëýøåì.
+ Èñïîëüçóéòå ýòó êîíñòàíòó, êîãäà âðó÷íóþ ïîäêëþ÷àåòå ëþáîé èç
+ core.* ôàéëîâ.
+ </para>
+ <example>
+ <title>SMARTY_CORE_DIR</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+// çàãðóçêà core.get_microtime.php
+require_once(SMARTY_CORE_DIR."core.get_microtime.php");
+?>
+]]>
+ </programlisting>
+ </example>
+ </sect1>
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php