Skip to content

Allow preventing execution of dbSaveConfigFile in install.php #596

Description

@jlahijani

I'm using install.php (with install-config.php) to install ProcessWire via command line.

Given my setup where instead of using 'site-blank', I'm using a ready-to-go site which already has a config.php file inside of it which the installer supports with the profile option.

The current installer already does some checks to prevent writing certain config values to the config.php file if they already exist, but it always writes dbName, dbUser, etc. I don't want it to do that because my config.php setup is working in a custom way.

Could there be an option that allows disabling dbSaveConfigFile from running?

At the moment, I am achieving this by hacking install.php and just making the dbSaveConfigFile method immediately return true; which works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions