projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40fbc58
)
HTML/FlexyFramework.php
author
Alan Knowles
<alan@roojs.com>
Mon, 30 Apr 2018 06:40:35 +0000
(14:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 30 Apr 2018 06:40:35 +0000
(14:40 +0800)
HTML/FlexyFramework.php
patch
|
blob
|
history
diff --git
a/HTML/FlexyFramework.php
b/HTML/FlexyFramework.php
index
1a2b7fb
..
087ce66
100755
(executable)
--- a/
HTML/FlexyFramework.php
+++ b/
HTML/FlexyFramework.php
@@
-399,6
+399,15
@@
RewriteRule ^(.+)$ /web.hpasite/index.local.php [L,NC,E=URL:$1]
$lang = isset($_COOKIE[$cfg['cookie']]) ? $_COOKIE[$cfg['cookie']] : $default;
+ // handle languages in request..
+ $bits = explode('/', $request);
+ if (count($bits) && in_array($bits[0],$this->languages)) {
+ // redirect..
+
+
+
+ }
+