- Timestamp:
- 2013/07/23 10:39:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/module/Smarty/libs/Smarty.class.php
r20119 r23000 21 21 * For questions, help, comments, discussion, etc., please join the 22 22 * Smarty mailing list. Send a blank e-mail to 23 * smarty-discussion-subscribe@googlegroups.com 23 * smarty-discussion-subscribe@googlegroups.com 24 24 * 25 25 * @link http://www.smarty.net/ … … 28 28 * @author Andrei Zmievski <andrei@php.net> 29 29 * @package Smarty 30 * @version 2.6.2 630 * @version 2.6.27 31 31 */ 32 32 33 /* $Id: Smarty.class.php 3163 2009-06-17 14:39:24Z monte.ohrt$ */33 /* $Id: Smarty.class.php 4660 2012-09-24 20:05:15Z uwe.tews@googlemail.com $ */ 34 34 35 35 /** … … 466 466 * @var string 467 467 */ 468 var $_version = '2.6.2 6';468 var $_version = '2.6.27'; 469 469 470 470 /** … … 1059 1059 // var non-existant, return valid reference 1060 1060 $_tmp = null; 1061 return $_tmp; 1061 return $_tmp; 1062 1062 } 1063 1063 } … … 1091 1091 function trigger_error($error_msg, $error_type = E_USER_WARNING) 1092 1092 { 1093 trigger_error("Smarty error: $error_msg", $error_type); 1093 $msg = htmlentities($error_msg); 1094 trigger_error("Smarty error: $msg", $error_type); 1094 1095 } 1095 1096 … … 1118 1119 { 1119 1120 static $_cache_info = array(); 1120 1121 1121 1122 $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting) 1122 1123 ? $this->error_reporting : error_reporting() & ~E_NOTICE); … … 1934 1935 return eval($code); 1935 1936 } 1936 1937 1937 1938 /** 1938 1939 * Extracts the filter name from the given callback 1939 * 1940 * 1940 1941 * @param callback $function 1941 1942 * @return string … … 1952 1953 } 1953 1954 } 1954 1955 1955 1956 /**#@-*/ 1956 1957
Note: See TracChangeset
for help on using the changeset viewer.