]> git.ipfire.org Git - ipfire-2.x.git/commit
manualpages: Add path and file extension to the configuration
authorLeo-Andres Hofmann <hofmann@leo-andres.de>
Mon, 25 Apr 2022 19:12:45 +0000 (21:12 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 4 Jun 2022 09:23:42 +0000 (09:23 +0000)
commit64db1faf67c608943a6e045ffdd0c283ecf053fa
tree4b6325b620241cdf5963340d389105555bc371cd
parent5f8a1acfe94af5cb15bf3d97ae5a1f566d5fed7c
manualpages: Add path and file extension to the configuration

This allows to correctly assign an URL to a file without relying
on unique base names.
A custom read function is required because General::readhash()
doesn't allow paths as hash keys. Modifying the existing functions
could affect other CGIs and was therefore dismissed.

Fixes: #12806
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
config/cfgroot/header.pl
config/cfgroot/manualpages
html/html/themes/ipfire/include/functions.pl
tools/check_manualpages.pl