diff options
| author | michael pereira | 2011-04-01 13:56:31 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-01 13:56:31 +0200 |
| commit | c6ba86b7bb05519d32296e62c1bce0fd2225e90a (patch) | |
| tree | eee0a011813b3dec8e8d05f49246b37551cb7e26 /application/controllers/StatsController.php | |
| parent | bootmenu (diff) | |
| parent | Merge branch 'master' of ssh://git.openslx.org/lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-c6ba86b7bb05519d32296e62c1bce0fd2225e90a.tar.gz pbs2-c6ba86b7bb05519d32296e62c1bce0fd2225e90a.tar.xz pbs2-c6ba86b7bb05519d32296e62c1bce0fd2225e90a.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/controllers/StatsController.php')
| -rw-r--r-- | application/controllers/StatsController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/StatsController.php b/application/controllers/StatsController.php index a54c528..8fc718e 100644 --- a/application/controllers/StatsController.php +++ b/application/controllers/StatsController.php @@ -15,6 +15,7 @@ class StatsController extends Zend_Controller_Action if(isset($userIDsNamespace['groupID'])){ header("Content-Type: image/png"); + header("Expires: 0"); $n = new Pbs_Graph(); $level = $this->_request->getParam('level'); @@ -22,8 +23,7 @@ class StatsController extends Zend_Controller_Action $n->setHiglightLevel($level); } - $str = $n->graph($userIDsNamespace['groupID']); - echo $str; + echo $n->graph($userIDsNamespace['groupID']); } } } |
