YunoHost-Apps / my_webapp_ynh

Custom Web app with SFTP access
GNU General Public License v3.0
47 stars 39 forks source link

Define PHP settings used by config panel to prevent the config panel from miserably crashing #104

Closed alexAubin closed 1 year ago

alexAubin commented 1 year ago

Problem

cf https://forum.yunohost.org/t/my-webapp-config-panel-error-500/23230

and https://github.com/YunoHost-Apps/my_webapp_ynh/issues/97

The config panel miserably crash because the PHP settings are not initialized

Upgrading the app does somewhat fixes the issue, because it will initialize those settings if not defined, but obviously people shouldnt have to upgrade a fresh install to have things working

Solution

Define those settings during install, even though PHP is disabled

alexAubin commented 1 year ago

!testme

yunohost-bot commented 1 year ago

:v: Test Badge