From e9013cbe48d9d90dd086cb222f9d060d6ada8247 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 18 Dec 2012 19:38:54 +0800 Subject: [PATCH] File_Convert_AbiToDocx/AbiToDocx.php --- File_Convert_AbiToDocx/AbiToDocx.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/File_Convert_AbiToDocx/AbiToDocx.php b/File_Convert_AbiToDocx/AbiToDocx.php index b1fd636..30247e9 100644 --- a/File_Convert_AbiToDocx/AbiToDocx.php +++ b/File_Convert_AbiToDocx/AbiToDocx.php @@ -10,10 +10,7 @@ $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'); -- 2.39.2