mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
Merge branch 'v2.6.25'
This commit is contained in:
8
NEWS
8
NEWS
@@ -1,3 +1,11 @@
|
|||||||
|
Version 2.6.25 (May 19th, 2009)
|
||||||
|
-------------------------------
|
||||||
|
- fix E_NOTICE when sessions are disabled (mohrt)
|
||||||
|
|
||||||
|
Version 2.6.24 (May 16th, 2009)
|
||||||
|
-------------------------------
|
||||||
|
- fix problem introduced with super global changes (mohrt)
|
||||||
|
|
||||||
Version 2.6.23 (May 13th, 2009)
|
Version 2.6.23 (May 13th, 2009)
|
||||||
-------------------------------
|
-------------------------------
|
||||||
- strip backticks from {math} equations (mohrt)
|
- strip backticks from {math} equations (mohrt)
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
* smarty-discussion-subscribe@googlegroups.com
|
* smarty-discussion-subscribe@googlegroups.com
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/
|
* @link http://www.smarty.net/
|
||||||
* @version 2.6.24-dev
|
* @version 2.6.25-dev
|
||||||
* @copyright Copyright: 2001-2005 New Digital Group, Inc.
|
* @copyright Copyright: 2001-2005 New Digital Group, Inc.
|
||||||
* @author Andrei Zmievski <andrei@php.net>
|
* @author Andrei Zmievski <andrei@php.net>
|
||||||
* @access public
|
* @access public
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @author Andrei Zmievski <andrei@php.net>
|
* @author Andrei Zmievski <andrei@php.net>
|
||||||
* @package Smarty
|
* @package Smarty
|
||||||
* @version 2.6.24-dev
|
* @version 2.6.25-dev
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
@@ -107,7 +107,7 @@ class Smarty
|
|||||||
/**
|
/**
|
||||||
* When set, smarty does uses this value as error_reporting-level.
|
* When set, smarty does uses this value as error_reporting-level.
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var integer
|
||||||
*/
|
*/
|
||||||
var $error_reporting = null;
|
var $error_reporting = null;
|
||||||
|
|
||||||
@@ -465,7 +465,7 @@ class Smarty
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
var $_version = '2.6.24-dev';
|
var $_version = '2.6.25-dev';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* current template inclusion depth
|
* current template inclusion depth
|
||||||
@@ -582,7 +582,10 @@ class Smarty
|
|||||||
$this->_supers['get'] = $this->request_use_auto_globals ? $_GET : $GLOBALS['HTTP_GET_VARS'];
|
$this->_supers['get'] = $this->request_use_auto_globals ? $_GET : $GLOBALS['HTTP_GET_VARS'];
|
||||||
$this->_supers['post'] = $this->request_use_auto_globals ? $_POST : $GLOBALS['HTTP_POST_VARS'];
|
$this->_supers['post'] = $this->request_use_auto_globals ? $_POST : $GLOBALS['HTTP_POST_VARS'];
|
||||||
$this->_supers['server'] = $this->request_use_auto_globals ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS'];
|
$this->_supers['server'] = $this->request_use_auto_globals ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS'];
|
||||||
$this->_supers['session'] = $this->request_use_auto_globals ? $_SESSION : $GLOBALS['HTTP_SESSION_VARS'];
|
if(isset($_SESSION))
|
||||||
|
$this->_supers['session'] = $this->request_use_auto_globals ? $_SESSION : $GLOBALS['HTTP_SESSION_VARS'];
|
||||||
|
else
|
||||||
|
$this->_supers['session'] = array();
|
||||||
$this->_supers['request'] = $this->request_use_auto_globals ? $_REQUEST : $GLOBALS['HTTP_REQUEST_VARS'];
|
$this->_supers['request'] = $this->request_use_auto_globals ? $_REQUEST : $GLOBALS['HTTP_REQUEST_VARS'];
|
||||||
$this->_supers['cookies'] = $this->request_use_auto_globals ? $_COOKIE : $GLOBALS['HTTP_COOKIE_VARS'];
|
$this->_supers['cookies'] = $this->request_use_auto_globals ? $_COOKIE : $GLOBALS['HTTP_COOKIE_VARS'];
|
||||||
$this->_supers['env'] = $this->request_use_auto_globals ? $_ENV : $GLOBALS['HTTP_ENV_VARS'];
|
$this->_supers['env'] = $this->request_use_auto_globals ? $_ENV : $GLOBALS['HTTP_ENV_VARS'];
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
* @link http://smarty.php.net/
|
* @link http://smarty.php.net/
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @author Andrei Zmievski <andrei@php.net>
|
* @author Andrei Zmievski <andrei@php.net>
|
||||||
* @version 2.6.24-dev
|
* @version 2.6.25-dev
|
||||||
* @copyright 2001-2005 New Digital Group, Inc.
|
* @copyright 2001-2005 New Digital Group, Inc.
|
||||||
* @package Smarty
|
* @package Smarty
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user