Changeset 2231 for trunk/include/smarty
- Timestamp:
- Mar 1, 2008, 2:12:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/smarty/libs/Smarty.class.php
r2216 r2231 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); … … 1293 1293 if ($display) { 1294 1294 if (isset($_smarty_results)) { echo $_smarty_results; } 1295 } 1296 1297 if ($this->debugging) { 1298 // capture time for debugging info 1299 $_params = array(); 1300 require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); 1301 $this->_smarty_debug_info[$_included_tpls_idx]['exec_time'] = (smarty_core_get_microtime($_params, $this) - $_debug_start_time); 1302 } 1303 1304 if ($display) { 1295 1305 if ($this->debugging) { 1296 1306 // capture time for debugging info 1297 1307 $_params = array(); 1298 require_once(SMARTY_CORE_DIR . 'core.get_microtime.php');1299 $this->_smarty_debug_info[$_included_tpls_idx]['exec_time'] = (smarty_core_get_microtime($_params, $this) - $_debug_start_time);1300 1308 require_once(SMARTY_CORE_DIR . 'core.display_debug_console.php'); 1301 1309 echo smarty_core_display_debug_console($_params, $this); … … 1933 1941 return eval($code); 1934 1942 } 1935 1943 1936 1944 /** 1937 1945 * Extracts the filter name from the given callback 1938 * 1946 * 1939 1947 * @param callback $function 1940 1948 * @return string … … 1951 1959 } 1952 1960 } 1953 1961 1954 1962 /**#@-*/ 1955 1963
Note: See TracChangeset
for help on using the changeset viewer.