From d560071ac4b2a1acfa3949ac2aa3e5d1966a0d21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 1 Apr 2015 10:00:17 +0200 Subject: [PATCH] Added local files. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- guestbook/LICENSE.txt | 1 - guestbook/index.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/guestbook/LICENSE.txt b/guestbook/LICENSE.txt index 7714141d15..06f965147a 100644 --- a/guestbook/LICENSE.txt +++ b/guestbook/LICENSE.txt @@ -467,4 +467,3 @@ EXHIBIT A -Mozilla Public License. the notices in the Source Code files of the Original Code. You should use the text of this Exhibit A rather than the text found in the Original Code Source Code for Your Modifications.] - diff --git a/guestbook/index.php b/guestbook/index.php index 1fcb61dab8..fb6b2f8d77 100644 --- a/guestbook/index.php +++ b/guestbook/index.php @@ -15,8 +15,8 @@ * License for the specific language governing rights and limitations * under the License. */ -include "settings.php"; -include trap_core_path."core.inc.php"; +include 'settings.php'; +include trap_core_path.'core.inc.php'; add_blacklist($_SERVER['REMOTE_ADDR'], $_SERVER['REQUEST_METHOD'], $_SERVER['REQUEST_URI'], $_SERVER['SERVER_PROTOCOL'], $_SERVER['HTTP_REFERRER'], $_SERVER['HTTP_USER_AGENT']); header('Location: forbid.php'); exit; -- 2.39.5