public static function init($init_language = true) { if (isset($_GET['plain'])) { self::plaintext(); } else { header('Content-Type: text/html; charset=UTF-8'); } if ($init_language) { GWF_Language::init(); } GWF_HTML::init(); self::$xhtml = (self::isHTML() ? '>' : ' />') . "\n\t"; self::addLink(GWF_WEB_ROOT . 'favicon.ico', 'img/x-icon', 'shortcut icon'); self::addMeta(array('Content-Type', 'text/html; charset=utf-8', 1)); }