Skip to content

Conversation

@henninghh990
Copy link

Added MODX_MANAGER_URL to the setup options, so that "Files are already in-place" is checkable on sites where manager/ has been renamed.

What does it do?

The function on the first page of the setup checks if the manager/-folder exists, and let's the user check "Files are already in-place". I've replaced the string manager/ with MODX_MANAGER_URL so it reads the dynamic value from config.inc.php.

Why is it needed?

Many of us rename the manager/-page to either customize the experience or for security purposes. This fix enables us to install / upgrade a site and select "Files are already in-place".

How to test

Rename manager and manager URL in config.inc.php, then run setup.

Added MODX_MANAGER_URL to the setup options, so that "Files are already in-place" is checkable on sites where manager/ has been renamed.
Copy link
Member

@opengeek opengeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can already achieve the ability to customize the manager path/url using the advanced distribution, along with several other paths/urls. I don't see the need for this in the standard distribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants