From ff488306f8c47a9d09b7dec974d08e0f8fef1049 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 19 Dec 2012 12:10:31 +0800 Subject: [PATCH] File_Convert_AbiToDocx/AbiToDocx.php --- File_Convert_AbiToDocx/AbiToDocx.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/File_Convert_AbiToDocx/AbiToDocx.php b/File_Convert_AbiToDocx/AbiToDocx.php index 2d14d1e..483618b 100644 --- a/File_Convert_AbiToDocx/AbiToDocx.php +++ b/File_Convert_AbiToDocx/AbiToDocx.php @@ -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'); -- 2.39.2