X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Images.php;h=eff84f5c02742fc25b8c9ff40e3a7bd9c84594d9;hb=6c16407a1467c6234accc4916b35eb7256349180;hp=32859e1a2b1e0d2e5c450358dbcc951814be6ab4;hpb=2c887905be8f6b32b8968662d5755323651ff5c4;p=Pman.Core diff --git a/Images.php b/Images.php index 32859e1a..eff84f5c 100644 --- a/Images.php +++ b/Images.php @@ -85,7 +85,7 @@ class Pman_Core_Images extends Pman //if (!empty($_GET['_post'])) { // return $this->post(); //} - + $this->is_local = (!empty($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == 'localhost') ? true : false; $this->as_mimetype = empty($_REQUEST['as']) ? '' : $_REQUEST['as']; @@ -283,7 +283,6 @@ class Pman_Core_Images extends Pman function serve($img) { $this->sessionState(0); // turn off session... - locking... - require_once 'File/Convert.php'; if (!file_exists($img->getStoreName())) { // print_r($img);exit;