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