UploadProgress.php
[Pman.Core] / UploadProgress.php
index 58b58f0..8012149 100644 (file)
@@ -15,19 +15,16 @@ class Pman_Core_UploadProgress extends Pman
         return true; 
     }
     function get()
-    {
-        
-        
+    {   
         header("Cache-Control: no-cache, must-revalidate");
         header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-        print_r('in');
         if (  !function_exists('uploadprogress_get_info')) {
             $this->jok(false);
            }
-        print_r('in2');
         if (!empty($_GET['id'])) {
            // var_dump(uploadprogress_get_info($_GET['id']));
-            $this->jok(uploadprogress_get_info($_GET['id']));
+           $ret = uploadprogress_get_info($_GET['id']);
+            $this->jok($ret);
         }
         $this->jerr("no data");
     }