mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-19 15:35:20 +02:00
33 lines
504 B
PHP
33 lines
504 B
PHP
![]() |
<?php
|
||
|
|
||
|
/**
|
||
|
* Smarty method setConfigDir
|
||
|
*
|
||
|
* Sets directory of config files
|
||
|
*
|
||
|
* @package Smarty
|
||
|
* @subpackage SmartyMethod
|
||
|
* @author Uwe Tews
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Smarty class setConfigDir
|
||
|
*
|
||
|
* Sets directory of config files
|
||
|
*/
|
||
|
|
||
|
class Smarty_Method_SetConfigDir extends Smarty_Internal_Base {
|
||
|
/**
|
||
|
* Sets directory of config files
|
||
|
*
|
||
|
* @param string $ config folder
|
||
|
* @return
|
||
|
*/
|
||
|
public function execute($config_dir)
|
||
|
{
|
||
|
$this->smarty->config_dir = $config_dir;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|