Skip to content

Commit

Permalink
add version, display on header
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoellmann committed Oct 12, 2016
1 parent b100b94 commit a96765e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class OpCacheDataModel
private $_status;
private $_d3Scripts = array();

public $version = '0.1.0';

public function __construct()
{
$this->_configuration = opcache_get_configuration();
Expand Down Expand Up @@ -508,6 +510,7 @@ function toggleVisible(head, row) {

<body>
<div id="container">
<span style="float:right;font-size:small;">OPcache Status v<?php echo $dataModel->version; ?></span>
<h1><?php echo $dataModel->getPageTitle(); ?></h1>

<div class="actions">
Expand Down

0 comments on commit a96765e

Please sign in to comment.