SimpleExcel.php
authorChris <chris@roojs.com>
Wed, 28 Nov 2012 07:10:23 +0000 (15:10 +0800)
committerChris <chris@roojs.com>
Wed, 28 Nov 2012 07:10:23 +0000 (15:10 +0800)
SimpleExcel.php

index 59ab072..0f45b89 100644 (file)
@@ -221,11 +221,12 @@ class Pman_Core_SimpleExcel extends Pman
     {
         
      
-       print_r($fn);
-        exit;
+       
         require_once 'File/Convert.php';
         $fc=  new File_Convert($this->outfile2, "application/vnd.ms-excel");
         $fn = $fc->convert("application/vnd.ms-excel"); 
+        print_r($fn);
+        exit;
         $fc->serve('attachment',$fn); // can fix IE Mess
     }