mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-10-31 12:21:36 +01:00 
			
		
		
		
	
		
			
	
	
		
			49 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			49 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
|   | <?xml version="1.0" encoding="iso-8859-1"?> | |||
|  | <!-- $Revision$ --> | |||
|  |   <chapter id="smarty.constants"> | |||
|  |    <title>Costanti</title> | |||
|  | 
 | |||
|  |    <sect1 id="constant.smarty.dir"> | |||
|  |     <title>SMARTY_DIR</title> | |||
|  |     <para> | |||
|  |      Questo dovrebbe essere il percorso completo sul sistema dei file | |||
|  |      di classe di Smarty. Se la costante non <20> definita, Smarty cercher<65> | |||
|  |      di determinare automaticamente il valore appropriato. Se <20> definita, | |||
|  |      il percorso deve terminare con una barra. | |||
|  |     </para> | |||
|  |     <example> | |||
|  |      <title>SMARTY_DIR</title> | |||
|  |      <programlisting role="php"> | |||
|  | <![CDATA[ | |||
|  | <?php | |||
|  | // imposta il percorso della directory di Smarty | |||
|  | define("SMARTY_DIR","/usr/local/lib/php/Smarty/"); | |||
|  | 
 | |||
|  | require_once(SMARTY_DIR."Smarty.class.php"); | |||
|  | ?> | |||
|  | ]]> | |||
|  |      </programlisting> | |||
|  |     </example> | |||
|  |    </sect1> | |||
|  | </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 | |||
|  | --> |