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