Ignore:
Timestamp:
2013/07/23 10:39:42 (11 years ago)
Author:
Seasoft
Message:

#2275 (PHP5.5対応)

  • Smarty 2.6.26 -> 2.6.27 (厳密にはPHP5.3対応か)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/module/Smarty/libs/Smarty.class.php

    r20119 r23000  
    2121 * For questions, help, comments, discussion, etc., please join the 
    2222 * Smarty mailing list. Send a blank e-mail to 
    23  * smarty-discussion-subscribe@googlegroups.com  
     23 * smarty-discussion-subscribe@googlegroups.com 
    2424 * 
    2525 * @link http://www.smarty.net/ 
     
    2828 * @author Andrei Zmievski <andrei@php.net> 
    2929 * @package Smarty 
    30  * @version 2.6.26 
     30 * @version 2.6.27 
    3131 */ 
    3232 
    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 $ */ 
    3434 
    3535/** 
     
    466466     * @var string 
    467467     */ 
    468     var $_version              = '2.6.26'; 
     468    var $_version              = '2.6.27'; 
    469469 
    470470    /** 
     
    10591059            // var non-existant, return valid reference 
    10601060            $_tmp = null; 
    1061             return $_tmp;    
     1061            return $_tmp; 
    10621062        } 
    10631063    } 
     
    10911091    function trigger_error($error_msg, $error_type = E_USER_WARNING) 
    10921092    { 
    1093         trigger_error("Smarty error: $error_msg", $error_type); 
     1093        $msg = htmlentities($error_msg); 
     1094        trigger_error("Smarty error: $msg", $error_type); 
    10941095    } 
    10951096 
     
    11181119    { 
    11191120        static $_cache_info = array(); 
    1120          
     1121 
    11211122        $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting) 
    11221123               ? $this->error_reporting : error_reporting() & ~E_NOTICE); 
     
    19341935        return eval($code); 
    19351936    } 
    1936      
     1937 
    19371938    /** 
    19381939     * Extracts the filter name from the given callback 
    1939      *  
     1940     * 
    19401941     * @param callback $function 
    19411942     * @return string 
     
    19521953        } 
    19531954    } 
    1954    
     1955 
    19551956    /**#@-*/ 
    19561957 
Note: See TracChangeset for help on using the changeset viewer.