aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/ElggInstaller.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php
index 68c88f620..584b5cb79 100644
--- a/install/ElggInstaller.php
+++ b/install/ElggInstaller.php
@@ -743,8 +743,9 @@ class ElggInstaller {
session_name('Elgg');
session_start();
elgg_unregister_event_handler('boot', 'system', 'session_init');
- } else if ($stepIndex == ($settingsIndex + 1)) {
+ } else if (!$this->isAction && $stepIndex == ($settingsIndex + 1)) {
// now using Elgg session handling so need to pass forward the system messages
+ // this is called on the GET of the next step
session_name('Elgg');
session_start();
$messages = $_SESSION['msg'];
@@ -790,7 +791,7 @@ class ElggInstaller {
elgg_trigger_event('init', 'system');
// @hack finish the process of pushing system messages into new session
- if ($stepIndex == ($settingsIndex + 1)) {
+ if (!$this->isAction && $stepIndex == ($settingsIndex + 1)) {
$_SESSION['msg'] = $messages;
}
}