| 
									
										
										
										
											2004-04-13 11:47:32 +00:00
										 |  |  | <?xml version="1.0" encoding="iso-8859-1"?> | 
					
						
							|  |  |  | <!-- $Revision$ --> | 
					
						
							|  |  |  |    <sect1 id="variable.compile.dir"> | 
					
						
							|  |  |  |     <title>$compile_dir</title> | 
					
						
							|  |  |  |     <para> | 
					
						
							|  |  |  |      This is the name of the directory where compiled templates are | 
					
						
							| 
									
										
										
										
											2005-06-05 15:47:25 +00:00
										 |  |  |      located. By default this is | 
					
						
							|  |  |  |      <filename class="directory">"./templates_c"</filename> | 
					
						
							|  |  |  |      , meaning that it | 
					
						
							| 
									
										
										
										
											2004-04-13 11:47:32 +00:00
										 |  |  |      will look for the compile directory in the same directory as | 
					
						
							| 
									
										
										
										
											2005-05-24 14:01:49 +00:00
										 |  |  |      the executing php script. <emphasis role="bold">This directory must | 
					
						
							| 
									
										
										
										
											2005-06-05 15:47:25 +00:00
										 |  |  |      be writeable by the web server</emphasis> | 
					
						
							|  |  |  |      (<link linkend="installing.smarty.basic">see install</link>). | 
					
						
							|  |  |  |      Also | 
					
						
							| 
									
										
										
										
											2005-05-27 16:25:02 +00:00
										 |  |  |      <link linkend="variable.use.sub.dirs">$use_sub_dirs</link>. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-04-13 11:47:32 +00:00
										 |  |  |     </para> | 
					
						
							|  |  |  |     <note> | 
					
						
							|  |  |  |      <title>Technical Note</title> | 
					
						
							|  |  |  |       <para> | 
					
						
							|  |  |  |        This setting must be either a relative or | 
					
						
							|  |  |  |        absolute path. include_path is not used for writing files. | 
					
						
							|  |  |  |       </para> | 
					
						
							|  |  |  |      </note> | 
					
						
							|  |  |  |      <note> | 
					
						
							|  |  |  |       <title>Technical Note</title> | 
					
						
							|  |  |  |       <para> | 
					
						
							|  |  |  |        It is not recommended to put this directory under | 
					
						
							|  |  |  |        the web server document root. | 
					
						
							|  |  |  |       </para> | 
					
						
							|  |  |  |      </note> | 
					
						
							| 
									
										
										
										
											2005-05-24 14:01:49 +00:00
										 |  |  |      <para> | 
					
						
							| 
									
										
										
										
											2005-05-27 16:25:02 +00:00
										 |  |  |      See also <link linkend="variable.compile.id">$compile_id</link> | 
					
						
							|  |  |  |      and | 
					
						
							|  |  |  |      <link linkend="variable.use.sub.dirs">$use_sub_dirs</link>. | 
					
						
							| 
									
										
										
										
											2005-05-24 14:01:49 +00:00
										 |  |  |      </para> | 
					
						
							| 
									
										
										
										
											2004-04-13 11:47:32 +00:00
										 |  |  | </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 | 
					
						
							|  |  |  | --> |