projects
/
pear-examples
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9013cb
)
File_Convert_AbiToDocx/AbiToDocx.php
author
Edward
<edward@roojs.com>
Tue, 18 Dec 2012 12:14:31 +0000
(20:14 +0800)
committer
Edward
<edward@roojs.com>
Tue, 18 Dec 2012 12:14:31 +0000
(20:14 +0800)
File_Convert_AbiToDocx/AbiToDocx.php
patch
|
blob
|
history
diff --git
a/File_Convert_AbiToDocx/AbiToDocx.php
b/File_Convert_AbiToDocx/AbiToDocx.php
index
30247e9
..
b1fd636
100644
(file)
--- 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');