cvs: smarty /docs/en/programmers/api-variables variable-compile-id.xml

"Peter 'Mash' Morgan" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvspete_morgan1126628072@cvsserver>
pete_morgan		Tue Sep 13 12:14:32 2005 EDT

  Modified files:              
    /smarty/docs/en/programmers/api-variables	variable-compile-id.xml 
  Log:
  tweaks
  
http://cvs.php.net/diff.php/smarty/docs/en/programmers/api-variables/variable-compile-id.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/en/programmers/api-variables/variable-compile-id.xml
diff -u smarty/docs/en/programmers/api-variables/variable-compile-id.xml:1.4 smarty/docs/en/programmers/api-variables/variable-compile-id.xml:1.5
--- smarty/docs/en/programmers/api-variables/variable-compile-id.xml:1.4	Fri May 27 12:25:02 2005
+++ smarty/docs/en/programmers/api-variables/variable-compile-id.xml	Tue Sep 13 12:14:31 2005
@@ -1,20 +1,21 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <sect1 id="variable.compile.id">
  <title>$compile_id</title>
  <para>
   Persistant compile identifier. As an alternative to passing the same
-  compile_id to each and every function call, you can set this
-  compile_id and it will be used implicitly thereafter.
+  $compile_id to each and every function call, you can set this
+  $compile_id and it will be used implicitly thereafter.
  </para>
  <para>
-  With a compile_id you can work around the limitation that you cannot
+  With a $compile_id you can work around the limitation that you cannot
   use the same
   <link linkend="variable.compile.dir">$compile_dir</link>
   for different
   <link linkend="variable.template.dir">$template_dirs</link>.  If you set a
-  distinct compile_id for each template_dir then smarty can tell the
-  compiled templates apart by their compile_id.
+  distinct $compile_id for each 
+  <link linkend="variable.template.dir">$template_dir</link> then Amarty can tell the
+  compiled templates apart by their $compile_id.
  </para>
  <para>
   If you have for example a
@@ -29,13 +30,13 @@
   multiple domains / multiple virtual hosts.
  </para>
  <example>
-  <title>$compile_id</title>
+  <title>$compile_id in a virtual host enviroment</title>
   <programlisting role="php">
 <![CDATA[
 <?php
 
 $smarty->compile_id = $_SERVER['SERVER_NAME'];
-$smarty->compile_dir = 'path/to/shared_compile_dir';
+$smarty->compile_dir = '/path/to/shared_compile_dir';
 
 ?>
 ]]>

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.