From 2a924d4e6c29d332b4590a2d429919c4adb9548f Mon Sep 17 00:00:00 2001 From: "florian.azizian" <florian.azizian@maarch.org> Date: Fri, 10 Apr 2020 15:40:37 +0100 Subject: [PATCH] FEAT #13679 TIME 0:15 change path to lck --- bin/notification/load_basket_event_stack.php | 3 +-- bin/notification/load_process_email_stack.php | 3 +-- bin/notification/load_process_event_stack.php | 3 +-- bin/notification/load_stack_letterbox_alerts.php | 5 ++--- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/bin/notification/load_basket_event_stack.php b/bin/notification/load_basket_event_stack.php index 9486d23b4b3..14562be3d3d 100644 --- a/bin/notification/load_basket_event_stack.php +++ b/bin/notification/load_basket_event_stack.php @@ -99,8 +99,7 @@ $maarchUrl = (string)$config->MaarchUrl; $GLOBALS['customId'] = $customID; $GLOBALS['batchDirectory'] = $maarchDirectory . 'modules' - . DIRECTORY_SEPARATOR . 'notifications' - . DIRECTORY_SEPARATOR . 'batch'; + . DIRECTORY_SEPARATOR . 'notifications'; 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 3a58b73c0ff..5444347e048 100644 --- a/bin/notification/load_process_email_stack.php +++ b/bin/notification/load_process_email_stack.php @@ -90,8 +90,7 @@ chdir($maarchDirectory); $GLOBALS['customId'] = $customID; $GLOBALS['batchDirectory'] = $GLOBALS['maarchDirectory'] . 'modules' - . DIRECTORY_SEPARATOR . 'notifications' - . DIRECTORY_SEPARATOR . 'batch'; + . DIRECTORY_SEPARATOR . 'notifications'; 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 404cf112cd3..a80dea70cbd 100644 --- a/bin/notification/load_process_event_stack.php +++ b/bin/notification/load_process_event_stack.php @@ -99,8 +99,7 @@ $maarchUrl = (string)$config->MaarchUrl; $GLOBALS['customId'] = $customID; $GLOBALS['batchDirectory'] = $maarchDirectory . 'modules' - . DIRECTORY_SEPARATOR . 'notifications' - . DIRECTORY_SEPARATOR . 'batch'; + . DIRECTORY_SEPARATOR . 'notifications'; 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 17c86178e37..911da726c1c 100644 --- a/bin/notification/load_stack_letterbox_alerts.php +++ b/bin/notification/load_stack_letterbox_alerts.php @@ -93,9 +93,8 @@ chdir($maarchDirectory); $maarchUrl = (string)$config->MaarchUrl; $GLOBALS['customId'] = $customID; -$GLOBALS['batchDirectory'] = $maarchDirectory . 'modules' - . DIRECTORY_SEPARATOR . 'notifications' - . DIRECTORY_SEPARATOR . 'batch'; +$GLOBALS['batchDirectory'] = $maarchDirectory . 'bin' + . DIRECTORY_SEPARATOR . 'notification'; set_include_path(get_include_path() . PATH_SEPARATOR . $maarchDirectory); -- GitLab