issue 68 $_SESSION['logged_info'] delete.

because $_SESSION['logged_info'] deprecated.
if want use logged_info variable, can use variable in Context


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8567 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-07-06 08:32:01 +00:00
parent 0bf52edba1
commit dd52750715
7 changed files with 7 additions and 16 deletions

View file

@ -257,7 +257,7 @@
$__Context = &$GLOBALS['__Context__'];
$__Context->tpl_path = $this->path;
if($_SESSION['is_logged']) $__Context->logged_info = $_SESSION['logged_info'];
if($_SESSION['is_logged']) $__Context->logged_info = Context::get('logged_info');
ob_start();
$eval_str = "?>".$this->buff;