LibreBooking / app

Repository for the last open source version of Booked Scheduler. The "develop" branch contains the most current working code of the project and should be considered beta. The "master" branch is the most current stable release of BookedScheduler. Please read doc/README.md for further details.
GNU General Public License v3.0
371 stars 220 forks source link

config.php gets overwritten with old config-style, when using the GUI to make changes to it #374

Open inDane opened 1 month ago

inDane commented 1 month ago

Hey there, I've upgraded my old BookedScheduler Instances with the newest git version. In the upgrade process I had to convert the old config files to the new style like this:

<?php

mysqli_report(MYSQLI_REPORT_OFF);
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
//ini_set('display_errors', 1);
//ini_set('display_startup_errors', 1);

/**
 * Application configuration
 */
$conf['settings']['app.title'] = 'LibreBooking';            // application title

So far so good, everything seems to work just fine; unless I am trying to change the config.php via GUI. If i change anything and press "Update" it will then revert to some old-style version of the config.php and breaks the page.

Is this a bug or did i miss anything while upgrading?

Best inDane