mirror of
https://github.com/unraid/webgui.git
synced 2026-04-21 01:08:42 -05:00
Add release notes to version string in header
This commit is contained in:
@@ -23,7 +23,7 @@ require_once "$docroot/webGui/include/Markdown.php";
|
||||
<body style="margin:14px 10px">
|
||||
<?
|
||||
$file = $_GET['file'];
|
||||
if (file_exists($file) && strpos(realpath($file), '/tmp/plugins/') === 0 && substr($file, -4) == '.txt') echo Markdown(file_get_contents($file)); else echo Markdown("*No release notes available!*");
|
||||
if (file_exists($file) && ($_GET['tmp'] || (strpos(realpath($file), '/tmp/plugins/') === 0 && substr($file, -4) == '.txt'))) echo Markdown(file_get_contents($file)); else echo Markdown("*No release notes available!*");
|
||||
?>
|
||||
<br><div style="text-align:center"><input type="button" value="Done" onclick="top.Shadowbox.close()"></div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user