aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure/system.phtml
diff options
context:
space:
mode:
authorGravatar yzqzss <30341059+yzqzss@users.noreply.github.com> 2023-12-29 03:06:26 +0800
committerGravatar GitHub <noreply@github.com> 2023-12-28 20:06:26 +0100
commit2bd9f6303014f67537230d507416df7460817f7f (patch)
treee4f705e2ffbe07d939fb4e004e6e691f6f2c9526 /app/views/configure/system.phtml
parent08345d0a95cf2435c24e3d40b196cd87aea46d0b (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/views/configure/system.phtml')
-rw-r--r--app/views/configure/system.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml
index 09d1fe188..809b869a9 100644
--- a/app/views/configure/system.phtml
+++ b/app/views/configure/system.phtml
@@ -25,7 +25,7 @@
<label class="group-name" for="base-url"><?= _t('admin.system.base-url') ?></label>
<div class="group-controls">
<input type="text" id="base-url" name="base-url" value="<?= FreshRSS_Context::systemConf()->base_url ?>"
- data-leave-validation="<?= FreshRSS_Context::systemConf()->base_url ?>" disabled="disabled" />
+ data-leave-validation="<?= FreshRSS_Context::systemConf()->base_url ?>" readonly="readonly" />
<p class="help"><?= _i('help') ?> <?= _t('admin.system.base-url.recommendation', dirname(Minz_Request::guessBaseUrl())) ?></p>
<p class="help"><?= _i('help') ?> <?= _t('admin.system.sensitive-parameter') ?></p>
</div>