From a908b13e47048235e97e3082f609a29f175e34f6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 22 Aug 2005 17:37:58 +0000 Subject: [PATCH] =?UTF-8?q?S=E9curit=E9:=20La=20page=20dolibarr=20n'=E9tai?= =?UTF-8?q?t=20pas=20prot=E9g=E9e.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/admin/system/dolibarr.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/admin/system/dolibarr.php b/htdocs/admin/system/dolibarr.php index 8177f3336e4..dbec3def1c6 100644 --- a/htdocs/admin/system/dolibarr.php +++ b/htdocs/admin/system/dolibarr.php @@ -17,7 +17,6 @@ * * $Id$ * $Source$ - * */ /** @@ -28,6 +27,9 @@ require("./pre.inc.php"); +if (!$user->admin) + accessforbidden(); + llxHeader();