REGmon-project / regmon

Athlete Monitoring in Sport Practice and Research
https://regmon-project.github.io/
MIT License
6 stars 1 forks source link

Save Config broken when "Application Folder" is empty #27

Open QuasiMoko opened 2 months ago

QuasiMoko commented 2 months ago

When the configuration will be saved through the webinterface and the Value for the application folder ist empty, the config will break.

The value "REGmon_Folder" will be filled with the filename "config.php". So after pressing the save-button, the startpage of regmon is not available any more. As workaround I cleared the value again directly in DB-table [config].

{"DB_Debug_File":"__log_query.log","DB_Debug":"0","DOMAIN":"regmon.domain.com","REGmon_Folder":"config.php","Production_Mode":"1","HTTP":"https://","Force_Redirect_To_HTTPS":"1","Use_Multi_Language_Selector":"1","Use_VisualCaptcha":"1","Default_Language":"de","LogLimiter":{"Max_Attempts":"5","Block_Minutes":"10"},[...]