Correct path
This commit is contained in:
parent
059bb40345
commit
6a0916b3fa
@ -36,7 +36,7 @@ class Don extends CommonObject
|
|||||||
{
|
{
|
||||||
public $element='don'; // Id that identify managed objects
|
public $element='don'; // Id that identify managed objects
|
||||||
public $table_element='don'; // Name of table without prefix where object is stored
|
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
|
protected $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
|
||||||
|
|
||||||
var $id;
|
var $id;
|
||||||
|
|||||||
@ -39,7 +39,7 @@ function llxHeaderVierge() { print '<html><title>Export agenda cal</title><body>
|
|||||||
function llxFooterVierge() { print '</body></html>'; }
|
function llxFooterVierge() { print '</body></html>'; }
|
||||||
|
|
||||||
require '../../main.inc.php';
|
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
|
// Security check
|
||||||
if (empty($conf->don->enabled)) accessforbidden('',1,1,1);
|
if (empty($conf->don->enabled)) accessforbidden('',1,1,1);
|
||||||
|
|||||||
@ -27,7 +27,7 @@ define("NOCSRFCHECK",1); // We accept to go on this page from external web site.
|
|||||||
|
|
||||||
require '../../main.inc.php';
|
require '../../main.inc.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.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
|
// Security check
|
||||||
if (empty($conf->don->enabled)) accessforbidden('',1,1,1);
|
if (empty($conf->don->enabled)) accessforbidden('',1,1,1);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user