mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-10-31 04:11:37 +01:00 
			
		
		
		
	
		
			
	
	
		
			32 lines
		
	
	
		
			468 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			32 lines
		
	
	
		
			468 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
|   | <?php | ||
|  | 
 | ||
|  | /** | ||
|  | * Smarty method getPluginsDir | ||
|  | *  | ||
|  | * Returns directory of plugins | ||
|  | *  | ||
|  | * @package Smarty | ||
|  | * @subpackage SmartyMethod | ||
|  | * @author Uwe Tews  | ||
|  | */ | ||
|  | 
 | ||
|  | /** | ||
|  | * Smarty class getPluginsDir | ||
|  | *  | ||
|  | * Returns directory of plugins | ||
|  | */ | ||
|  | 
 | ||
|  | class Smarty_Method_GetPluginsDir extends Smarty_Internal_Base { | ||
|  |     /** | ||
|  |     * Returns directory of plugins | ||
|  |     *  | ||
|  |     * @return array plugins folder | ||
|  |     */ | ||
|  |     public function execute() | ||
|  |     { | ||
|  |         return $this->smarty->plugins_dir; | ||
|  |     }  | ||
|  | }  | ||
|  | 
 | ||
|  | ?>
 |