summaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Sam Cohen <samc1213@gmail.com> 2023-09-13 14:58:10 -0600
committerGravatar GitHub <noreply@github.com> 2023-09-13 22:58:10 +0200
commit52d87c3eaa352b765e1be3c2c0b9a3ce0bfabdc8 (patch)
tree4443329f7649f9f95e410d201e4b0695455ad039 /app/Controllers/configureController.php
parent0bf33abac8cf83dfece4ccd7f3146c373effae2c (diff)
Allow configuration of Base URL via website (#5656)
* Allow configuration of Base URL via website * Fix alphabetization of CREDITS * Apply suggestions from code review * Add Automatic recommendation --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/Controllers/configureController.php')
-rw-r--r--app/Controllers/configureController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index efd90255a..ef16f6b60 100644
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -474,6 +474,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController {
FreshRSS_Context::$system_conf->title = Minz_Request::paramString('instance-name') ?: 'FreshRSS';
FreshRSS_Context::$system_conf->auto_update_url = Minz_Request::paramString('auto-update-url');
FreshRSS_Context::$system_conf->force_email_validation = Minz_Request::paramBoolean('force-email-validation');
+ FreshRSS_Context::$system_conf->base_url = Minz_Request::paramString('base-url');
FreshRSS_Context::$system_conf->save();
invalidateHttpCache();