Skip to content

Commit

Permalink
[Descriptor] fix: require
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-theo committed Jun 8, 2021
1 parent fdc7d9f commit 70276e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/modules/modDigiriskDolibarr.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ public function init($options = '')


if ( $conf->global->DIGIRISKDOLIBARR_ACTIVE_STANDARD == 0 ) {
require_once '../../class/digiriskstandard.class.php';
require_once __DIR__ . '/../../class/digiriskstandard.class.php';

$digiriskstandard = new DigiriskStandard($this->db);
$digiriskstandard->ref = 'DU';
Expand All @@ -665,7 +665,7 @@ public function init($options = '')

if ( $conf->global->DIGIRISKDOLIBARR_THIRDPARTY_SET == 0 ) {
require_once DOL_DOCUMENT_ROOT . '/societe/class/societe.class.php';
require_once '../../class/digiriskresources.class.php';
require_once __DIR__ . '/../../class/digiriskresources.class.php';

$societe = new Societe($this->db);
$resources = new DigiriskResources($this->db);
Expand Down

0 comments on commit 70276e1

Please sign in to comment.