File_Convert_AbiToDocx/AbiToDocx.php
authorEdward <edward@roojs.com>
Wed, 19 Dec 2012 04:10:31 +0000 (12:10 +0800)
committerEdward <edward@roojs.com>
Wed, 19 Dec 2012 04:10:31 +0000 (12:10 +0800)
File_Convert_AbiToDocx/AbiToDocx.php

index 2d14d1e..483618b 100644 (file)
@@ -10,7 +10,10 @@ $conv->save($fn);
 //$xml = new XMLReader();
 
 // Download the file for testing
-
+if($_SERVER['SERVER_NAME'] == 'localhost')
+{
+    exit;
+}
 if (file_exists($fn)) {
     echo 'Prepare for download!!';
     header('Content-Description: File Transfer');