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

@ -29,9 +29,11 @@
*/ */
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;