From 0a0470a184c7a6896c6a9808f0be5a7309dd6e48 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 29 Jul 2013 15:03:07 +0200 Subject: [PATCH] exit script if not authorized ip --- web/index_dev.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/index_dev.php b/web/index_dev.php index 1251c012f..cb9a3d6f0 100755 --- a/web/index_dev.php +++ b/web/index_dev.php @@ -16,6 +16,7 @@ $request = Request::createFromGlobals(); if ( false === in_array($request->getClientIp(), $trustIp)) { //change request to send to a 404 error page + exit; } $thelia = new Thelia("dev", true);