mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-27 10:21:37 +01:00
- added $foo@first and $foo@last properties at {for} tag
- added $set_timezone (true/false) property to setup optionally the default time zone
26 lines
411 B
PHP
26 lines
411 B
PHP
<?php
|
|
|
|
/**
|
|
* Smarty method enableConfigOverwrite
|
|
*
|
|
* Enable config overwrite mode
|
|
*
|
|
* @package Smarty
|
|
* @subpackage SmartyMethod
|
|
* @author Uwe Tews
|
|
*/
|
|
|
|
/**
|
|
* Smarty class enableConfigOverwrite
|
|
*
|
|
* Enable config overwrite mode
|
|
*/
|
|
class Smarty_Method_enableConfigOverwrite extends Smarty_Internal_Base {
|
|
public function execute()
|
|
{
|
|
return $this->smarty->config_overwrite = true;
|
|
}
|
|
}
|
|
|
|
?>
|