Skip to content

Commit

Permalink
Fix Height
Browse files Browse the repository at this point in the history
  • Loading branch information
wattnpapa committed Nov 13, 2015
1 parent f2aae06 commit feb5c84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion class/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ public function makeGraph($type, $interval, $width, $height){
}

private function checkReDrawGraph($filename){
return true;
$filetime = filemtime($filename);
if(!$filetime)
return true;
Expand Down
3 changes: 3 additions & 0 deletions getSystemGraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
if(isset($_GET['width']))
$width = $_GET['width'];

if(isset($_GET['height']))
$height = $_GET['height'];

$system = new System();


Expand Down

0 comments on commit feb5c84

Please sign in to comment.