start(); } include_once(APP_INC_PATH . "class.misc.php"); if (isset($_GET)) { $HTTP_POST_VARS = $_POST; $HTTP_GET_VARS = $_GET; $HTTP_SERVER_VARS = $_SERVER; $HTTP_ENV_VARS = $_ENV; $HTTP_POST_FILES = $_FILES; // seems like PHP 4.1.0 didn't implement the $_SESSION auto-global... if (isset($_SESSION)) { $HTTP_SESSION_VARS = $_SESSION; } $HTTP_COOKIE_VARS = $_COOKIE; } // fix magic_quote_gpc'ed values (i wish i knew who is the person behind this) $HTTP_GET_VARS =& Misc::dispelMagicQuotes($HTTP_GET_VARS); $HTTP_POST_VARS =& Misc::dispelMagicQuotes($HTTP_POST_VARS); $_REQUEST =& Misc::dispelMagicQuotes($_REQUEST); // handle the language preferences now include_once(APP_INC_PATH . "class.language.php"); Language::setPreference(); // set charset header("Content-Type: text/html; charset=" . APP_CHARSET); /* vim: set expandtab tabstop=4 shiftwidth=4: */ ?>