1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-04 15:54:48 +01:00

Tests that run php should run the version of php selected by setup

This commit is contained in:
downtownallday
2022-06-25 12:37:11 -04:00
parent fd44210ee7
commit cb76aec59d
3 changed files with 5 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ if (empty($password)) {
// -----
// init application, start session, init output class, etc.
$RCMAIL = rcmail::get_instance(0, $GLOBALS['env']);
$RCMAIL = rcmail::get_instance(0, isset($GLOBALS['env']) ? $GLOBALS['env'] : null);
// trigger startup plugin hook
$startup = $RCMAIL->plugins->exec_hook('startup', array('task' => $RCMAIL->task, 'action' => $RCMAIL->action));