Ejemplo n.º 1
0
    case 'auul.php':
    case 'upload.php':
        if (!defined('UPLOAD_DIR')) {
            define('UPLOAD_DIR', HOST_DIR . 'upload/');
        }
        if (!defined('CRLF')) {
            define('CRLF', "\r\n");
        }
        require_once CLASS_DIR . "http.php";
        require_once HOST_DIR . "download/hosts.php";
        break;
    case "lynx.php":
        $server = getServerPlatf(1);
        break;
}
// end switch
if (THIS_SCRIPT == $options['index_file'] || THIS_SCRIPT == "audl.php") {
    require_once CONFIG_DIR . "limitation.php";
}
//Cek ip yg banned || is it listed as authorized ip || check country limit
if ($options["limited_edition"] || $options["limited_area"]) {
    $dlimitation = array($options["limited_edition"], $options["limited_area"]);
    require_once CLASS_DIR . "limit_district.php";
}
login_check();
$deleted = $options['auto_del_time'] > 0 ? purge_files($options['auto_del_time']) : 0;
$options['downloadLimitbyIP'] ? $visitors->purge_files_IP($options['downloadDelayPerIP']) : '';
($options['OnlineVisitor'] || $options['logact']) && $visitors->is_error != 0 ? html_error($visitors->ret_msg, 0) : '';
$options['OnlineVisitor'] ? $visitors->updOnlineUser() : '';
$options['logact'] && !$visitors->is_latestVisitor() ? $visitors->updLogVisitor('IN') : '';