0 ? $_GET["l"] : "de"; $_GET["id"] = @strlen($_GET["id"]) > 0 ? $_GET["id"] : "home"; $_meta_db = new meta_db($default_meta_db_conf); $_meta_cms = new meta_cms($_meta_db, $default_meta_cms_conf); $_meta_cms->process_request($_GET["id"], $_GET["l"]); // --- translation erstellen -------------------------------------- $params = array(); $params['default_encoding'] = 'utf-8'; $params['simpleDomainMode'] = true; $params['prefetch'] = false; $params['langs_avail_file'] = dirname(__FILE__).'/lang/lang.ini'; $params['domains_path_file'] = dirname(__FILE__).'/lang/domain.ini'; $params['default_domain'] = 'standard'; $params['file_type'] = 'po'; // Better set prefetch to FALSE for the gettext container, so we don't need // to read in the whole MO file with File_Gettext on every request. $_tr =& Translation2::factory('gettext', $params); if (PEAR::isError($_tr)) { //deal with it die ($_tr->getMessage()); } $_tr->setLang($_GET["l"]); //encode all the strings using the ISO-8859-1 charset //$_tr =& $_tr->getDecorator('Iconv'); //$_tr->setOption('encoding', 'ISO-8859-1'); // --- end translation erstellen -.------------------------- ob_start(); include "mis/meta_cms/frontend/render.php"; $inHALT = ob_get_contents(); ob_end_clean(); // get html sourrounding pieces include "include/header.php"; include "include/body.php";