Show
Ignore:
Timestamp:
12/09/08 17:12:25 (5 years ago)
Author:
patdenice
Message:

merge -c2961 from trunk to branch 2.0.
Update Smarty to 2.6.21

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/2.0/include/smarty/libs/Smarty.class.php

    r2538 r2962  
    2121 * For questions, help, comments, discussion, etc., please join the 
    2222 * Smarty mailing list. Send a blank e-mail to 
    23  * smarty-general-subscribe@lists.php.net 
     23 * smarty-discussion-subscribe@googlegroups.com  
    2424 * 
    25  * @link http://smarty.php.net/ 
     25 * @link http://www.smarty.net/ 
    2626 * @copyright 2001-2005 New Digital Group, Inc. 
    2727 * @author Monte Ohrt <monte at ohrt dot com> 
    2828 * @author Andrei Zmievski <andrei@php.net> 
    2929 * @package Smarty 
    30  * @version 2.6.20 
     30 * @version 2.6.21 
    3131 */ 
    3232 
    33 /* $Id: Smarty.class.php 2722 2007-06-18 14:29:00Z danilo $ */ 
     33/* $Id: Smarty.class.php 2785 2008-09-18 21:04:12Z Uwe.Tews $ */ 
    3434 
    3535/** 
     
    465465     * @var string 
    466466     */ 
    467     var $_version              = '2.6.20'; 
     467    var $_version              = '2.6.21'; 
    468468 
    469469    /** 
     
    12931293        if ($display) { 
    12941294            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) { 
    13051295            if ($this->debugging) { 
    13061296                // capture time for debugging info 
    13071297                $_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); 
    13081300                require_once(SMARTY_CORE_DIR . 'core.display_debug_console.php'); 
    13091301                echo smarty_core_display_debug_console($_params, $this);