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();