$oops->ouch('APP_PHP_TOO_OLD', true);
}
// Anit GLOBALS var
if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) {
    $oops->ouch('APP_BAD_ATTEMPT', true);
}
// Anit long or huge request
if (isset($_SERVER['PATH_INFO'][512])) {
    $oops->ouch('APP_DATABLOCK_TOO_LARGE', true);
}
// Let's Add Slashes to REQUEST variable first, for safe.
$_MYGET = $_MYPOST = array();
// Init Security Unit here
$sec = new security($oops);
// First things will do when $sec has been loaded
if (!empty($_GET) && ($_MYGET = $sec->addSlashes($_GET))) {
    $_runtime['GetFilled'] = true;
}
if (!empty($_POST) && ($_MYPOST = $sec->addSlashes($_POST))) {
    $_runtime['PostFilled'] = true;
}
unset($_GET, $_POST);
// Unset it so no one can use
// Init Cache module
$cac = new filecache($cfg['cache'], $oops, $sec);
// Init Database Unit
$db = new db($cfg['db'], $oops, $sec, $cac);
/** START OF SITE SETTING **/
$site = array();
if (!($site = $cac->read('SITE', 'SITECFG', 86400))) {
    $temp_site = array();