#5451 - Copy _config.php to _config.php.bak when installing over another install

  • By
  • Added
  • 4 views
Identifier #5451
Issue type Trivial issue (does not break functionality)
Title Copy _config.php to _config.php.bak when installing over another install
Status Completed
Handling member PDStig
Version 10.0.43
Addon installer
Description The installer really should be copying the current _config.php to _config.php.bak when running over a current install. Sometimes, people may have git_repos() switches in their config file. And the installer will erase this.

Port this to v11 as well.

Add new .htaccess and web.config rules to block access to _config.php.bak.

Modify the warning screen on step 5 when overwriting an install to include information about this happening and what the user might need to do after install (copy stuff from .bak back into _config.php).

Actually, the warning screen should probably be more "warning"ish and draw more attention; it's a critical screen.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-5451 (Back up _config.php when running the install) (00007268) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated