-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid step in the installer for the root installer path. #5
Conversation
…taller if no _setp query is given.
@@ -90,7 +90,7 @@ | |||
} | |||
|
|||
// go to 'check env' step if we have a local configuration | |||
if ($RCI->configured && empty($_REQUEST['_step'])) { | |||
if (!$RCI->configured && empty($_REQUEST['_step'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, the comment says "if we have a local configuration". But since we don't have a step 0 (anymore) I guess the if ($RCI->configured) can be removed entirely. Checking for if (empty($_REQUEST['_step'])) should do the job here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had the problem that I've got "Invalid step" when I opened the installer without a step. After negating the configured check the installer worked correct. But now (after the installation with a valid config and $rcmail_config['enable_installer'] = true;) I've got the "Invalid step" message again.
So I would recommend that you deny these pull request and I will try to solve these issue again.
Fixed wrong if statement for redirecting to the first step of the installer if no _setp query is given.