So its not work on localhost.
Quote:
if ( !defined("XOOPS_MAINFILE_INCLUDED") ) {
define("XOOPS_MAINFILE_INCLUDED",1);
// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_ROOT_PATH', 'D:/apachefriends1.4.9/xampp/xampp/htdocs/xampp/testseiten/xoops');
define('XOOPS_ROOT_PATH', 'D:/apachefriends1.4.9/xampp/xampp/htdocs/xampp/testseiten/xoops');
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://localhost/xampp/testseiten/xoops');
define('XOOPS_URL', 'http://localhost/xampp/testseiten/xoops');
require XOOPS_ROOT_PATH.'/include/easiestml.php' ; // insert this
define('XOOPS_CHECK_PATH', 1);
Quote:
<?php
/*** THE EASIEST MULTILANGUAGE HACK by GIJOE ***/
// CONFIGURATIONS BEGIN
// list the language tags separated with comma
define('EASIESTML_LANGS','xlang:en,xlang:de'); // This is a sample of long pattern against tag misunderstanding english
//define('EASIESTML_LANGS','en,de'); // [en]english[/en] [fr]french[/fr] common
// list the language images separated with comma
define('EASIESTML_LANGIMAGES','images/english.gif,images/german.gif');
// list the language names separated with comma
define('EASIESTML_LANGNAMES','english,german');
// tag name for language image (default . don't include specialchars)
define('EASIESTML_IMAGETAG','mlimg');
// make regular expression which disallows language tags to cross it
define('EASIESTML_NEVERCROSSREGEX','/\<\/table\>/');
// the life time of language selection stored in cookie
define('EASIESTML_COOKIELIFETIME',365*86400);
// CONFIGURATIONS END