diff options
| author | 2023-12-29 03:06:26 +0800 | |
|---|---|---|
| committer | 2023-12-28 20:06:26 +0100 | |
| commit | 2bd9f6303014f67537230d507416df7460817f7f (patch) | |
| tree | e4f705e2ffbe07d939fb4e004e6e691f6f2c9526 /app/Controllers/configureController.php | |
| parent | 08345d0a95cf2435c24e3d40b196cd87aea46d0b (diff) | |
fix: `base_url` becomes empty after saving configuration (#5992)
* fix: `base_url` becomes empty after saving configuration
* Just remove the line
* Use read-ony instead
https://developer.mozilla.org/docs/Web/HTML/Attributes/readonly#attribute_interactions
* Revert for websub
* Changelog
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/Controllers/configureController.php')
| -rw-r--r-- | app/Controllers/configureController.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php index c52a5d23c..8db36a899 100644 --- a/app/Controllers/configureController.php +++ b/app/Controllers/configureController.php @@ -485,7 +485,6 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController { FreshRSS_Context::systemConf()->title = Minz_Request::paramString('instance-name') ?: 'FreshRSS'; FreshRSS_Context::systemConf()->auto_update_url = Minz_Request::paramString('auto-update-url'); FreshRSS_Context::systemConf()->force_email_validation = Minz_Request::paramBoolean('force-email-validation'); - FreshRSS_Context::systemConf()->base_url = Minz_Request::paramString('base-url'); FreshRSS_Context::systemConf()->save(); invalidateHttpCache(); |
