Correct path

This commit is contained in:
aspangaro 2015-03-26 21:03:56 +01:00
parent 059bb40345
commit 6a0916b3fa
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ class Don extends CommonObject
{
public $element='don'; // Id that identify managed objects
public $table_element='don'; // Name of table without prefix where object is stored
public $fk_element = 'fk_don';
public $fk_element = 'fk_donation';
protected $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
var $id;

View File

@ -39,7 +39,7 @@ function llxHeaderVierge() { print '<html><title>Export agenda cal</title><body>
function llxFooterVierge() { print '</body></html>'; }
require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT .'/donations/class/class/don.class.php';
require_once DOL_DOCUMENT_ROOT .'/don/class/don.class.php';
// Security check
if (empty($conf->don->enabled)) accessforbidden('',1,1,1);

View File

@ -27,7 +27,7 @@ define("NOCSRFCHECK",1); // We accept to go on this page from external web site.
require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
require_once DOL_DOCUMENT_ROOT.'/donations/class/don.class.php';
require_once DOL_DOCUMENT_ROOT.'/don/class/don.class.php';
// Security check
if (empty($conf->don->enabled)) accessforbidden('',1,1,1);