Fixed: Plantage "Fatal error: Cannot redeclare class commande.class.php"

This commit is contained in:
Laurent Destailleur 2005-05-23 16:46:17 +00:00
parent 2f0de6e983
commit fec1540872

View File

@ -22,16 +22,18 @@
*/ */
/** /**
\file htdocs/commande/pre.inc.php \file htdocs/commande/pre.inc.php
\ingroup commandes \ingroup commandes
\brief Gestionnaire du menu commandes \brief Gestionnaire du menu commandes
\version $Revision$ \version $Revision$
*/ */
require("../main.inc.php"); require("../main.inc.php");
require("./commande.class.php"); require_once DOL_DOCUMENT_ROOT."/commande/commande.class.php";
$langs->load("orders"); $langs->load("orders");
function llxHeader($head = "", $title="", $help_url='') function llxHeader($head = "", $title="", $help_url='')
{ {
global $user, $conf, $langs; global $user, $conf, $langs;