tag 1.4.2.1

git-svn-id: http://xe-core.googlecode.com/svn/trunk@7480 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-05-19 10:09:04 +00:00
parent fae67f375d
commit d448678c63
6 changed files with 12 additions and 8 deletions

View file

@ -94,10 +94,13 @@
// Load Language File
$lang_supported = $this->loadLangSelected();
// Retrieve language type set in user's cookie
if($this->get('l')) {
$_COOKIE['lang_type'] = $this->lang_type = $this->get('l');
$this->lang_type = $this->get('l');
if($_COOKIE['lang_type'] != $this->lang_type)
{
setcookie('lang_type', $this->lang_type);
}
}
else if($_COOKIE['lang_type']) $this->lang_type = $_COOKIE['lang_type'];

View file

@ -526,7 +526,7 @@
$eval_str = "?>".$buff;
eval($eval_str);
} else {
@include($compiled_tpl_file);
include($compiled_tpl_file);
}
return ob_get_clean();