mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-16 05:55:20 +02:00
34 lines
520 B
PHP
34 lines
520 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;
|
|
return;
|
|
}
|
|
}
|
|
|
|
?>
|