summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/widgets/widgets/system_information.widget.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-22 15:37:04 -0300
committerRenato Botelho <renato@netgate.com>2015-09-22 15:37:04 -0300
commit114af081b95fd51f9d58a89965e389cfb713d47b (patch)
treec9e0483e48f7c7673882c45c6a78646be2beb7da /src/usr/local/www/widgets/widgets/system_information.widget.php
parenta69afe4467742d93fd64ea0a1aebd7afac5a97a7 (diff)
downloadpfsense-114af081b95fd51f9d58a89965e389cfb713d47b.zip
pfsense-114af081b95fd51f9d58a89965e389cfb713d47b.tar.gz
Reintroduce part of 5779ade6707ba530517da239d9ec3fc751d17d83 lost during bootstrap merge
Diffstat (limited to 'src/usr/local/www/widgets/widgets/system_information.widget.php')
-rw-r--r--src/usr/local/www/widgets/widgets/system_information.widget.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/widgets/widgets/system_information.widget.php b/src/usr/local/www/widgets/widgets/system_information.widget.php
index 21aaf92..5868d65 100644
--- a/src/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/src/usr/local/www/widgets/widgets/system_information.widget.php
@@ -66,7 +66,6 @@ if ($_REQUEST['getupdatestatus']) {
echo "<i>Unable to check for updates</i>";
else {
$current_installed_buildtime = trim(file_get_contents("/etc/version.buildtime"));
- $current_installed_version = trim(file_get_contents("/etc/version"));
if(!$remote_version) {
echo "<i>Unable to check for updates</i>";
@@ -104,7 +103,7 @@ $filesystems = get_mounted_filesystems();
<tr>
<th><?=gettext("Version");?></th>
<td>
- <strong><?php readfile("/etc/version"); ?></strong>
+ <strong><?=$g['product_version']?></strong>
(<?php echo php_uname("m"); ?>)
<br />
built on <?php readfile("/etc/version.buildtime"); ?>
OpenPOWER on IntegriCloud