Output more version data on the admin screen
commit79f150bdb17405897c94d8d98d7ca61026c30e2e
authorAndreas Gohr <andi@splitbrain.org>
Mon, 15 Apr 2024 11:31:16 +0000 (15 13:31 +0200)
committerAndreas Gohr <andi@splitbrain.org>
Mon, 15 Apr 2024 11:31:16 +0000 (15 13:31 +0200)
tree8483bd0c98555c77c34f61530db685839ea588fc
parent0f0ec3b47166b666e805f0d782958890987fb386
Output more version data on the admin screen

Bug reports are often lacking crucial information about the environment
the wiki is run on and novice users often do not know how to obtain this
data.

This patch gathers some environmental information and outputs it next to
the DokuWiki version number on the admin screen.

Info included (if obtainable):

* PHP version
* Linux Distribution name and version
* Operating System and Version (refers to kernel version on linux)
* The PHP SAPI (modphp, cgi, fcgi)
* If running on kubernetes or docker
inc/Ui/Admin.php
inc/infoutils.php