require_once 'File/Convert/AbiToDocx.php';
//Example AbiWord file
-$abiFileName = '/tmp/thumb.abw';
+$abiFileName = '/tmp/thumb2.abw';
$fn = '/tmp/thumb.docx';
$conv = new File_Convert_AbiToDocx($abiFileName);
$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');