diff --git a/index.php b/index.php index 235e602..9f90997 100644 --- a/index.php +++ b/index.php @@ -3,12 +3,6 @@ include("lib/headers.php"); include("lib/settings.php"); $t = $text['index']; -// Check IP permissions -if (!in_array($_SERVER["REMOTE_ADDR"], $_SESSION['allowedIPs']) && !in_array("*", $_SESSION['allowedIPs'])) { - header('Location: /'); - die("Sorry, not in allowed IPs list"); -}; - $updateMsg = ''; // Check for updates if ($ICEcoder["checkUpdates"]) { diff --git a/lib/settings.php b/lib/settings.php index e848e16..7a84934 100644 --- a/lib/settings.php +++ b/lib/settings.php @@ -164,16 +164,11 @@ for ($i=0;$i