mirror of
https://github.com/unraid/webgui.git
synced 2026-01-13 21:20:01 -06:00
Add release notes to version string in header
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright 2005-2017, Lime Technology
|
||||
* Copyright 2012-2017, Bergware International.
|
||||
/* Copyright 2005-2018, Lime Technology
|
||||
* Copyright 2012-2018, Bergware International.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2,
|
||||
@@ -25,7 +25,7 @@ require_once "$docroot/webGui/include/Markdown.php";
|
||||
$file = $_GET['file'];
|
||||
$tmp = $_GET['tmp'] ? '/var/tmp' : '/tmp/plugins/';
|
||||
|
||||
if (file_exists($file) && strpos(realpath($file),$tmp)===0 && substr($file, -4)=='.txt') echo Markdown(file_get_contents($file)); else echo Markdown("*No release notes available!*");
|
||||
if (file_exists($file) && strpos(realpath($file),$tmp)===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