cvs: smarty /docs/en/programmers smarty-constants.xml
"Peter 'Mash' Morgan" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvspete_morgan1126352194@cvsserver> |
pete_morgan Sat Sep 10 07:36:34 2005 EDT
Modified files:
/smarty/docs/en/programmers smarty-constants.xml
Log:
highlight full sys path
http://cvs.php.net/diff.php/smarty/docs/en/programmers/smarty-constants.xml?r1=1.6&r2=1.7&ty=u
Index: smarty/docs/en/programmers/smarty-constants.xml
diff -u smarty/docs/en/programmers/smarty-constants.xml:1.6 smarty/docs/en/programmers/smarty-constants.xml:1.7
--- smarty/docs/en/programmers/smarty-constants.xml:1.6 Sun Jun 5 11:47:24 2005
+++ smarty/docs/en/programmers/smarty-constants.xml Sat Sep 10 07:36:33 2005
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<chapter id="smarty.constants">
<title>Constants</title>
<sect1 id="constant.smarty.dir">
<title>SMARTY_DIR</title>
<para>
- This should be the full system path to the location of the Smarty
+ This should be the <emphasis role="bold">full system path</emphasis>
+ to the location of the Smarty
class files. If this is not defined, then Smarty will attempt to
determine the appropriate value automatically. If defined, the path
<emphasis role="bold">must end with a slash</emphasis>.
@@ -22,8 +23,8 @@
// path to Smarty windows style
define('SMARTY_DIR','c:/webroot/libs/Smarty/libs/');
-// hack (not recommended) that works on both *nix and wind
-// Smarty is assumend to be in 'includes' dir under script
+// hack (not recommended) that works on both *nix and windows
+// Smarty is assumend to be in 'includes' dir under current script
define('SMARTY_DIR',str_replace("\\","/",getcwd()).'/includes/Smarty/libs/');
// include the smarty class Note 'S' is upper case
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php