/trunk/core/model/smarty/plugins/function.exit.php
PHP | 27 lines | 6 code | 4 blank | 17 comment | 0 complexity | 2719ac72892c9f7a838f95e3d209882e MD5 | raw file
Possible License(s): AGPL-1.0, LGPL-2.1, GPL-2.0, GPL-3.0
- <?php
- /**
- * Smarty plugin
- * @package Smarty
- * @subpackage plugins
- */
- /**
- * Smarty {exit} function plugin
- *
- * Type: function<br>
- * Name: exit<br>
- * Purpose: Mimic exit
- * @author Shaun McCormick <splittingred at gmail dot com>
- * @param array
- * @param Smarty
- * @return string
- */
- function smarty_function_exit($params, &$smarty)
- {
- exit();
- }
- /* vim: set expandtab: */
- ?>