From ef17ee279f9ca3434fdf585548b31c04e68f7af4 Mon Sep 17 00:00:00 2001 From: e107steved Date: Thu, 10 Jul 2008 20:37:03 +0000 Subject: [PATCH] Slight security improvement - thanks marj --- e107_admin/links.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/e107_admin/links.php b/e107_admin/links.php index 96f0d489e..7f89a0f8e 100644 --- a/e107_admin/links.php +++ b/e107_admin/links.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/links.php,v $ -| $Revision: 1.10 $ -| $Date: 2008-06-06 19:14:20 $ +| $Revision: 1.11 $ +| $Date: 2008-07-10 20:36:57 $ | $Author: e107steved $ | | links.php?debug shows stored data for each link after name (before constant conversion) @@ -20,8 +20,10 @@ */ require_once('../class2.php'); -if (!getperms('I')) { - header('location:'.e_BASE.'index.php'); +if (!getperms('I')) +{ + header('location:'.e_BASE.'index.php'); + exit; } $e_sub_cat = 'links';