projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dd90c5
)
I18n.php
author
Alan Knowles
<alan@roojs.com>
Wed, 9 Sep 2015 09:17:22 +0000
(17:17 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 Sep 2015 09:17:22 +0000
(17:17 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
aee7af2
..
d933319
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-82,7
+82,7
@@
class Pman_Core_I18n extends Pman
function guessUsersLanguage() {
-
+
$lang = !$this->authUser || empty($this->authUser->lang ) ? 'en' : $this->authUser->lang;
/// verify the selected language..
@@
-108,7
+108,7
@@
class Pman_Core_I18n extends Pman
function get($s ='')
{
-
+ $this->sessionState(false);
$lbits = $this->guessUsersLanguage();
if ($this->authUser && !empty($_REQUEST['_debug'])) {