PEAK XOOPS - Re: Re: emlh: not work in xcgal in englishin japanese

Re: Re: emlh: not work in xcgal

List posts in the topic

none Re: Re: emlh: not work in xcgal

msg# 1.1.1.1
depth:
3
Previous post - Next post | Parent - No child | Posted on 2008/1/14 3:09
jagi  一等兵 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:8 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!