diff options
author | deva <deva> | 2010-02-25 19:56:19 +0000 |
---|---|---|
committer | deva <deva> | 2010-02-25 19:56:19 +0000 |
commit | e84a854e54adf07d0bda64f8e3a4182940b44a97 (patch) | |
tree | 7f7b17536f59442b7ca0093d6aa460e8b54fccba /utils/modules/discography.php | |
parent | 8640edd0906f2e617c6e94840a158bced0f5121b (diff) |
Improved security a bit in image cache.
Diffstat (limited to 'utils/modules/discography.php')
-rw-r--r-- | utils/modules/discography.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/modules/discography.php b/utils/modules/discography.php index bc37022..2f4589d 100644 --- a/utils/modules/discography.php +++ b/utils/modules/discography.php @@ -251,9 +251,10 @@ class Discography { public function getImageSize($cat) { switch($cat) { - default: case "cover": return new ImageSize($this->coverwidth, $this->coverheight); + default: + die(404); } } |