From 3ae75ca41ed5e4cc2a0c1c9ed5bfaf8dfcd764c8 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 23 Mar 2003 15:22:59 +0000 Subject: [PATCH] *** empty log message *** --- htdocs/compta/casoc.php3 | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/htdocs/compta/casoc.php3 b/htdocs/compta/casoc.php3 index 2df4f640eaa..b8b0c9404e7 100644 --- a/htdocs/compta/casoc.php3 +++ b/htdocs/compta/casoc.php3 @@ -1,8 +1,5 @@ - * - * $Id$ - * $Source$ +/* Copyright (C) 2001-2003 Rodolphe Quiedeville * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,9 +15,22 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * $Id$ + * $Source$ + * */ require("./pre.inc.php3"); +/* + * Sécurité accés client + */ +if ($user->societe_id > 0) +{ + accessforbidden(); +} +/* + * + */ llxHeader(); $db = new Db();