Re: Re: emlh: not work in xcgal
List posts in the topic
Re: Re: emlh: not work in xcgal
msg# 1.1.1.1
jagi
![一等兵 一等兵](http://xoops.peak.ne.jp/uploads/rank3dbf8e94a6f72.gif)
From: Poland
Posts: 15
identical problem ... I like xcgal (based on Coppermine Photo Gallery) and can't use EMLH.
I try debug code ...
- switching to default language by easiestml.php:
----------------------------------------
// protection against some injection
if( ! in_array( $easiestml_lang , $easiestml_langs ) ) {
$easiestml_lang = $easiestml_langs[0] ;
}
-----------------------------------------
$easiestml_lang in this step looks NULL , but after and before
ob_start( 'easiestml' ) ; - is OK ...
In my opinion this problem with reading cookies (xcgal use cookies, too)
My lines added to test before
protection against some injection:
if (empty($easiestml_lang) || empty($_GET['easiestml_lang']) ){
$easiestml_lang = $_COOKIE['easiestml_lang']; }
- works, but need second reload page ;(
------
All other modules on this some site works fine (news, liaise, content, smartpartner)
Votes:11
Average:8.18
Posts tree