Skip to content
Snippets Groups Projects
Commit 4e082a17 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #13679 TIME 0:15 change path to lck notification

parent d964f991
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,6 @@ class IncludeFileError extends Exception ...@@ -33,7 +33,6 @@ class IncludeFileError extends Exception
$GLOBALS['batchName'] = 'basket_event_stack'; $GLOBALS['batchName'] = 'basket_event_stack';
$GLOBALS['wb'] = ''; $GLOBALS['wb'] = '';
$totalProcessedResources = 0; $totalProcessedResources = 0;
$batchDirectory = '';
// Load tools // Load tools
include('batch_tools.php'); include('batch_tools.php');
...@@ -98,8 +97,8 @@ chdir($maarchDirectory); ...@@ -98,8 +97,8 @@ chdir($maarchDirectory);
$maarchUrl = (string)$config->MaarchUrl; $maarchUrl = (string)$config->MaarchUrl;
$GLOBALS['customId'] = $customID; $GLOBALS['customId'] = $customID;
$GLOBALS['batchDirectory'] = $maarchDirectory . 'modules' $GLOBALS['batchDirectory'] = $maarchDirectory . 'bin'
. DIRECTORY_SEPARATOR . 'notifications'; . DIRECTORY_SEPARATOR . 'notification';
set_include_path(get_include_path() . PATH_SEPARATOR . $maarchDirectory); set_include_path(get_include_path() . PATH_SEPARATOR . $maarchDirectory);
......
...@@ -33,7 +33,6 @@ class IncludeFileError extends Exception ...@@ -33,7 +33,6 @@ class IncludeFileError extends Exception
$GLOBALS['batchName'] = 'process_email_stack'; $GLOBALS['batchName'] = 'process_email_stack';
$GLOBALS['wb'] = ''; $GLOBALS['wb'] = '';
$totalProcessedResources = 0; $totalProcessedResources = 0;
$batchDirectory = '';
// Load tools // Load tools
include('batch_tools.php'); include('batch_tools.php');
...@@ -89,8 +88,8 @@ if ($customID <> '') { ...@@ -89,8 +88,8 @@ if ($customID <> '') {
chdir($maarchDirectory); chdir($maarchDirectory);
$GLOBALS['customId'] = $customID; $GLOBALS['customId'] = $customID;
$GLOBALS['batchDirectory'] = $GLOBALS['maarchDirectory'] . 'modules' $GLOBALS['batchDirectory'] = $GLOBALS['maarchDirectory'] . 'bin'
. DIRECTORY_SEPARATOR . 'notifications'; . DIRECTORY_SEPARATOR . 'notification';
set_include_path(get_include_path() . PATH_SEPARATOR . $GLOBALS['maarchDirectory']); set_include_path(get_include_path() . PATH_SEPARATOR . $GLOBALS['maarchDirectory']);
......
...@@ -33,7 +33,6 @@ class IncludeFileError extends Exception ...@@ -33,7 +33,6 @@ class IncludeFileError extends Exception
$GLOBALS['batchName'] = 'process_event_stack'; $GLOBALS['batchName'] = 'process_event_stack';
$GLOBALS['wb'] = ''; $GLOBALS['wb'] = '';
$totalProcessedResources = 0; $totalProcessedResources = 0;
$batchDirectory = '';
// Load tools // Load tools
include('batch_tools.php'); include('batch_tools.php');
...@@ -98,8 +97,8 @@ chdir($maarchDirectory); ...@@ -98,8 +97,8 @@ chdir($maarchDirectory);
$maarchUrl = (string)$config->MaarchUrl; $maarchUrl = (string)$config->MaarchUrl;
$GLOBALS['customId'] = $customID; $GLOBALS['customId'] = $customID;
$GLOBALS['batchDirectory'] = $maarchDirectory . 'modules' $GLOBALS['batchDirectory'] = $maarchDirectory . 'bin'
. DIRECTORY_SEPARATOR . 'notifications'; . DIRECTORY_SEPARATOR . 'notification';
set_include_path(get_include_path() . PATH_SEPARATOR . $maarchDirectory); set_include_path(get_include_path() . PATH_SEPARATOR . $maarchDirectory);
......
...@@ -30,10 +30,9 @@ class IncludeFileError extends Exception ...@@ -30,10 +30,9 @@ class IncludeFileError extends Exception
} }
// Globals variables definition // Globals variables definition
$GLOBALS['batchName'] = 'process_letterbox_alerts'; $GLOBALS['batchName'] = 'process_letterbox_alerts';
$GLOBALS['wb'] = ''; $GLOBALS['wb'] = '';
$totalProcessedResources = 0; $totalProcessedResources = 0;
$batchDirectory = '';
// Load tools // Load tools
include('batch_tools.php'); include('batch_tools.php');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment