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.
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
sitewhich already has a config.php file inside of it which the installer supports with theprofileoption.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
dbSaveConfigFilefrom running?At the moment, I am achieving this by hacking install.php and just making the
dbSaveConfigFilemethod immediatelyreturn true;which works fine.