diff --git a/bin/notification/load_basket_event_stack.php b/bin/notification/load_basket_event_stack.php index 14562be3d3d8b40b907d78c4532b7075508e9c1d..61578c4dfd8994fefcc70531856ab8a70b6f38bc 100644 --- a/bin/notification/load_basket_event_stack.php +++ b/bin/notification/load_basket_event_stack.php @@ -33,7 +33,6 @@ class IncludeFileError extends Exception $GLOBALS['batchName'] = 'basket_event_stack'; $GLOBALS['wb'] = ''; $totalProcessedResources = 0; -$batchDirectory = ''; // Load tools include('batch_tools.php'); @@ -98,8 +97,8 @@ chdir($maarchDirectory); $maarchUrl = (string)$config->MaarchUrl; $GLOBALS['customId'] = $customID; -$GLOBALS['batchDirectory'] = $maarchDirectory . 'modules' - . DIRECTORY_SEPARATOR . 'notifications'; +$GLOBALS['batchDirectory'] = $maarchDirectory . 'bin' + . DIRECTORY_SEPARATOR . 'notification'; set_include_path(get_include_path() . PATH_SEPARATOR . $maarchDirectory); diff --git a/bin/notification/load_process_email_stack.php b/bin/notification/load_process_email_stack.php index 5444347e0485823cfb7e30f5a93832b1a4b7ddb9..b0623f8119829efc01b0f48a3c658ac284cd17b6 100644 --- a/bin/notification/load_process_email_stack.php +++ b/bin/notification/load_process_email_stack.php @@ -33,7 +33,6 @@ class IncludeFileError extends Exception $GLOBALS['batchName'] = 'process_email_stack'; $GLOBALS['wb'] = ''; $totalProcessedResources = 0; -$batchDirectory = ''; // Load tools include('batch_tools.php'); @@ -89,8 +88,8 @@ if ($customID <> '') { chdir($maarchDirectory); $GLOBALS['customId'] = $customID; -$GLOBALS['batchDirectory'] = $GLOBALS['maarchDirectory'] . 'modules' - . DIRECTORY_SEPARATOR . 'notifications'; +$GLOBALS['batchDirectory'] = $GLOBALS['maarchDirectory'] . 'bin' + . DIRECTORY_SEPARATOR . 'notification'; set_include_path(get_include_path() . PATH_SEPARATOR . $GLOBALS['maarchDirectory']); diff --git a/bin/notification/load_process_event_stack.php b/bin/notification/load_process_event_stack.php index a80dea70cbdaa9ae72f14b823d05adaa42f44e19..57f57dc34e9f7aed412486661d20c819fb77fa0b 100644 --- a/bin/notification/load_process_event_stack.php +++ b/bin/notification/load_process_event_stack.php @@ -33,7 +33,6 @@ class IncludeFileError extends Exception $GLOBALS['batchName'] = 'process_event_stack'; $GLOBALS['wb'] = ''; $totalProcessedResources = 0; -$batchDirectory = ''; // Load tools include('batch_tools.php'); @@ -98,8 +97,8 @@ chdir($maarchDirectory); $maarchUrl = (string)$config->MaarchUrl; $GLOBALS['customId'] = $customID; -$GLOBALS['batchDirectory'] = $maarchDirectory . 'modules' - . DIRECTORY_SEPARATOR . 'notifications'; +$GLOBALS['batchDirectory'] = $maarchDirectory . 'bin' + . DIRECTORY_SEPARATOR . 'notification'; set_include_path(get_include_path() . PATH_SEPARATOR . $maarchDirectory); diff --git a/bin/notification/load_stack_letterbox_alerts.php b/bin/notification/load_stack_letterbox_alerts.php index 911da726c1c6de4621642a9fac562f9c2e0ea1e6..c454c351e5c8454e2c032d52692f336864e62b12 100644 --- a/bin/notification/load_stack_letterbox_alerts.php +++ b/bin/notification/load_stack_letterbox_alerts.php @@ -30,10 +30,9 @@ class IncludeFileError extends Exception } // Globals variables definition -$GLOBALS['batchName'] = 'process_letterbox_alerts'; -$GLOBALS['wb'] = ''; +$GLOBALS['batchName'] = 'process_letterbox_alerts'; +$GLOBALS['wb'] = ''; $totalProcessedResources = 0; -$batchDirectory = ''; // Load tools include('batch_tools.php');