projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac435a8
)
fix #7456 - New_Customer_Portal_100_Report
author
leon
<leon@roojs.com>
Thu, 1 Dec 2022 04:53:29 +0000
(12:53 +0800)
committer
leon
<leon@roojs.com>
Thu, 1 Dec 2022 04:53:29 +0000
(12:53 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
6536b2f
..
9a1292d
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-234,7
+234,13
@@
class Pman_Core_I18n extends Pman
if (empty($k)) {
return '??';
}
- $fo = &PEAR::getStaticProperty('HTML_Template_Flexy','options');
+
+ if(class_exists('HTML_FlexyFramework2', false)) {
+ $fo = HTML_FlexyFramework2::get()->HTML_Template_Flexy;
+ }
+ else {
+ $fo = &PEAR::getStaticProperty('HTML_Template_Flexy','options');
+ }
$fallback_lang = empty($fo['locale']) ? 'en' : $fo['locale'];