Changeset 3704 for branches/2.0/include
- Timestamp:
- Jul 30, 2009, 6:00:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/include/smarty/libs/Smarty.class.php
r3583 r3704 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/ … … 1059 1059 // var non-existant, return valid reference 1060 1060 $_tmp = null; 1061 return $_tmp; 1061 return $_tmp; 1062 1062 } 1063 1063 } … … 1118 1118 { 1119 1119 static $_cache_info = array(); 1120 1120 1121 1121 $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting) 1122 1122 ? $this->error_reporting : error_reporting() & ~E_NOTICE); … … 1305 1305 return; 1306 1306 } else { 1307 if ($this->debugging) { 1308 // capture time for debugging info 1309 require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); 1310 $this->_smarty_debug_info[$_included_tpls_idx]['exec_time'] = (smarty_core_get_microtime(array(), $this) - $_debug_start_time); 1311 } 1307 1312 error_reporting($_smarty_old_error_level); 1308 1313 if (isset($_smarty_results)) { return $_smarty_results; } … … 1934 1939 return eval($code); 1935 1940 } 1936 1941 1937 1942 /** 1938 1943 * Extracts the filter name from the given callback 1939 * 1944 * 1940 1945 * @param callback $function 1941 1946 * @return string … … 1952 1957 } 1953 1958 } 1954 1959 1955 1960 /**#@-*/ 1956 1961
Note: See TracChangeset
for help on using the changeset viewer.