Images.php
authorEdward <edward@roojs.com>
Tue, 19 Nov 2013 09:41:31 +0000 (17:41 +0800)
committerEdward <edward@roojs.com>
Tue, 19 Nov 2013 09:41:31 +0000 (17:41 +0800)
Images.php

index 99dc85c..65266fc 100644 (file)
@@ -56,7 +56,7 @@ class Pman_Core_Images extends Pman
     function get($s) // determin what to serve!!!!
     {
         $this->as_mimetype = empty($_REQUEST['as']) ? '' : $_REQUEST['as'];
-        DB_DataObjecT::debugLevel(1);
+        
         $bits= explode('/', $s);
         $id = 0;
 //        var_dump($bits);die('in');
@@ -172,7 +172,7 @@ class Pman_Core_Images extends Pman
         
        
         $img = DB_DataObjecT::factory('Images');
-        
+         
         if (!$id || !$img->get($id)) {
              
             header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' .