diff options
author | Ermal Luçi <eri@pfsense.org> | 2014-02-21 16:56:57 +0100 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2014-02-21 16:56:57 +0100 |
commit | 7dda8e5ca8214ffa8ae098af501569684602a8be (patch) | |
tree | ac0ff8dab93c892ebc9eeeadbf0723d0398717b4 /config/vnstat2/www/vnstat2_img.php | |
parent | 9da67718c24ba88efc9884c7f26aa6fa7f3c4ded (diff) | |
parent | 324c82e37900b3681c6bcff4df91bfc22e8dc493 (diff) | |
download | pfsense-packages-7dda8e5ca8214ffa8ae098af501569684602a8be.tar.gz pfsense-packages-7dda8e5ca8214ffa8ae098af501569684602a8be.tar.bz2 pfsense-packages-7dda8e5ca8214ffa8ae098af501569684602a8be.zip |
Merge pull request #579 from parawizard/master
Vnstat2 - Integration of vnstat_php_frontend into packages repo from tar
Diffstat (limited to 'config/vnstat2/www/vnstat2_img.php')
-rw-r--r-- | config/vnstat2/www/vnstat2_img.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/vnstat2/www/vnstat2_img.php b/config/vnstat2/www/vnstat2_img.php new file mode 100644 index 00000000..85644309 --- /dev/null +++ b/config/vnstat2/www/vnstat2_img.php @@ -0,0 +1,6 @@ +<?php +require_once("guiconfig.inc"); +$image = $_GET['image']; +header("Content-type: image/png"); +readfile("/tmp/$image"); +?> |