X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=blobdiff_plain;f=Pman%2FImages.php;fp=Pman%2FImages.php;h=c4ea1b3f1232313b6973ddbf6ee30dff847412af;hp=f822910df70f24d8ac5a83ded9e295dcf540861e;hb=cfff01f217d306a495d3d525af696b64b5995a5c;hpb=342f94febcd8669d355e89ad61d9a25b085c6259 diff --git a/Pman/Images.php b/Pman/Images.php index f822910..c4ea1b3 100644 --- a/Pman/Images.php +++ b/Pman/Images.php @@ -36,6 +36,9 @@ class Pman_Images extends Pman return true; } + var $thumb = false; + var $as_mimetype = false; + var $method = 'inline'; function get($s) // determin what to serve!!!! { @@ -124,9 +127,7 @@ class Pman_Images extends Pman $this->serve($img); exit; } - var $thumb = false; - var $as_mimetype = false; - var $method = 'inline'; + function serve($img) { require_once 'File/Convert.php';