devshort

private self-hosted shortlink service
git clone https://git.clttr.info/devshort.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 205357a6b9c131ef55f493ef0d8c19988c4a4cd6
parent 67ae933690cc472f3f6345b85d761ad9c16ce56c
Author: René Wagner <rwagner@rw-net.de>
Date:   Sun, 27 Sep 2020 14:51:02 +0200

fix author listing in footer

remove obsolete links from example config

Diffstat:
Mdata/config.json.example | 8+++-----
Mindex.php | 2+-
2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/data/config.json.example b/data/config.json.example @@ -3,16 +3,14 @@ "settings": { "name": "devShort shortlink service", "author": "The admin", - "home_link": "https://github.com/flokX/devShort", + "home_link": "https://sr.ht/~rwa/devShort", "favicon": "assets/icon.png", "random_shortlink": false, "custom_links": { - "devShort wiki": "https://github.com/flokX/devShort/wiki", - "devShort author": "https://github.com/flokX" + "sourcehut": "https://sourcehut.org", } }, "shortlinks": { - "repo": "https://github.com/flokX/devShort", - "wiki": "https://github.com/flokX/devShort/wiki" + "repo": "https://git.sr.ht/~rwa/devShort", } } diff --git a/index.php b/index.php @@ -81,7 +81,7 @@ function show_random_shortlink() { <footer class="footer mt-auto py-3 bg-light"> <div class="container"> <div class="d-flex justify-content-between align-items-center"> - <span class="text-muted">&copy; 2020 <?php $config_content["settings"]["author"]; ?> and <a href="https://sr.ht/~rwa/devShort/" target="_blank">devShort</a></span> + <span class="text-muted">&copy; 2020 <?php echo $config_content["settings"]["author"]; ?> and <a href="https://sr.ht/~rwa/devShort/" target="_blank">devShort</a></span> <?php if ($links_string) { echo "<span class=\"text-muted\">$links_string</span>"; } ?> </div> </div>