Fix: Plantage double declaration classe

This commit is contained in:
Laurent Destailleur 2006-01-14 14:36:21 +00:00
parent 9d461aa8ab
commit b3b1afb588
2 changed files with 8 additions and 4 deletions

View File

@ -28,15 +28,18 @@
*/
require_once("./pre.inc.php");
require_once("../../don.class.php");
require_once(DOL_DOCUMENT_ROOT."/don.class.php");
require_once(DOL_DOCUMENT_ROOT."/paiement.class.php");
$langs->load("donations");
$langs->load("bills");
$mesg="";
/*
* Actions
*/
if ($_POST["action"] == 'update')
{

View File

@ -29,7 +29,7 @@
*/
require("../../main.inc.php");
require("../../projetdon.class.php");
require_once(DOL_DOCUMENT_ROOT."/projetdon.class.php");
$langs->load("donations");
$langs->load("propal");
@ -40,7 +40,8 @@ $libelle[2] = $langs->trans("DonationsPayed");
$libelle[3] = $langs->trans("DonationsReceived");
function llxHeader($head = "") {
function llxHeader($head = "")
{
global $user, $conf, $langs;
$langs->load("donations");