projects
/
pear-examples
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ab10dc
)
File_Convert_AbiToDocx/AbiToDocx.php
author
Edward
<edward@roojs.com>
Wed, 19 Dec 2012 04:10:31 +0000
(12:10 +0800)
committer
Edward
<edward@roojs.com>
Wed, 19 Dec 2012 04:10:31 +0000
(12:10 +0800)
File_Convert_AbiToDocx/AbiToDocx.php
patch
|
blob
|
history
diff --git
a/File_Convert_AbiToDocx/AbiToDocx.php
b/File_Convert_AbiToDocx/AbiToDocx.php
index
2d14d1e
..
483618b
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');