PEAK XOOPS - auto-login hacked files for XOOPS 2.0.13 -global language in englishin japanese

auto-login hacked files for XOOPS 2.0.13 -global language

List posts in the topic

question auto-login hacked files for XOOPS 2.0.13 -global language

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2005/9/12 15:45
mikeh  一等兵   Posts: 11
auto-login hacked files for XOOPS 2.0.13

the below seemed to cause my site to be classed as a japenese language site
think the 'easiestml_lang' statement was failing

is it important that the below is in global language english file ??

as always thanks for all your work
mike
// GIJ start
if( $GLOBALS['easiestml_lang'] != 'xlang:en' ) {

//%%%%% LANGUAGE SPECIFIC SETTINGS %%%%%
define('_CHARSET', 'EUC-JP');
define('_LANGCODE', 'ja');

// change 0 to 1 if this language is a multi-bytes language
define("XOOPS_USE_MULTIBYTES", "1");

} else {

//%%%%% LANGUAGE SPECIFIC SETTINGS %%%%%
define('_CHARSET', 'ISO-8859-1');
define('_LANGCODE', 'en');

// change 0 to 1 if this language is a multi-bytes language
define("XOOPS_USE_MULTIBYTES", "0");

}
// GIJ end
Votes:8 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!