Persisting values between upgrades

Discussion in 'Developers' Forum' started by choong, Feb 21, 2018.

  1. choong

    choong New Member

    I have custom values for $conf['interface_logout_url'] and $conf['interface_modules_enabled'] defined in The upgrade script does not appear to remember these values between upgrades. At the same time, it makes no sense to commit this file to version control as it also contains a version number definition, and database credentials.
    If I am reading the code correctly, there is currently no way to remember these values between upgrades. Am I overlooking something? Or if that is just the limitation for now, would it be feasible to add persistence ( @till )? E.g. by making the upgrade script remember them like it remembers the db credentials. Or by adding an 'if custom file exists, include that' to the end of so people can force override with their custom settings?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The upgrade script remembers already some settings like the language in, we should extend that on some more variables.
  3. choong

    choong New Member

    till likes this.

Share This Page