1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-07 03:15:03 +02:00

Slight security improvement - thanks marj

This commit is contained in:
e107steved 2008-07-10 20:37:03 +00:00
parent 1ac0405641
commit ef17ee279f

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_admin/links.php,v $ | $Source: /cvs_backup/e107_0.8/e107_admin/links.php,v $
| $Revision: 1.10 $ | $Revision: 1.11 $
| $Date: 2008-06-06 19:14:20 $ | $Date: 2008-07-10 20:36:57 $
| $Author: e107steved $ | $Author: e107steved $
| |
| links.php?debug shows stored data for each link after name (before constant conversion) | links.php?debug shows stored data for each link after name (before constant conversion)
@ -20,8 +20,10 @@
*/ */
require_once('../class2.php'); require_once('../class2.php');
if (!getperms('I')) { if (!getperms('I'))
header('location:'.e_BASE.'index.php'); {
header('location:'.e_BASE.'index.php');
exit;
} }
$e_sub_cat = 'links'; $e_sub_cat = 'links';