cvs: php4 /ext/pdf pdf.c
| From: | Daniel Beulshausen | Date: | Wed, 03 Jan 2001 11:41:31 +0000 |
| Subject: | cvs: php4 /ext/pdf pdf.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3340@lists.php.net to get a copy of this message | ||
dbeu Wed Jan 3 03:41:31 2001 EDT
Modified files:
/php4/ext/pdf pdf.c
Log:
fix bug 8341 & 8394
Index: php4/ext/pdf/pdf.c
diff -u php4/ext/pdf/pdf.c:1.61 php4/ext/pdf/pdf.c:1.62
--- php4/ext/pdf/pdf.c:1.61 Mon Nov 20 23:07:53 2000
+++ php4/ext/pdf/pdf.c Wed Jan 3 03:41:30 2001
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pdf.c,v 1.61 2000/11/21 07:07:53 dbeu Exp $ */
+/* $Id: pdf.c,v 1.62 2001/01/03 11:41:30 dbeu Exp $ */
/* pdflib 2.02 is subject to the ALADDIN FREE PUBLIC LICENSE.
Copyright (C) 1997 Thomas Merz. */
@@ -2339,7 +2339,9 @@
RETURN_FALSE;
}
+#ifdef VIRTUAL_DIR
virtual_filepath((*arg2)->value.str.val, &image);
+#endif
pdf_image = PDF_open_image_file(pdf, "gif", image, "", 0);
@@ -2376,7 +2378,9 @@
RETURN_FALSE;
}
+#ifdef VIRTUAL_DIR
virtual_filepath((*arg2)->value.str.val, &image);
+#endif
pdf_image = PDF_open_image_file(pdf, "jpeg", image, "", 0);
@@ -2413,7 +2417,9 @@
RETURN_FALSE;
}
+#ifdef VIRTUAL_DIR
virtual_filepath((*arg2)->value.str.val, &image);
+#endif
pdf_image = PDF_open_image_file(pdf, "png", image, "", 0);
@@ -2450,7 +2456,9 @@
RETURN_FALSE;
}
+#ifdef VIRTUAL_DIR
virtual_filepath((*arg2)->value.str.val, &image);
+#endif
pdf_image = PDF_open_image_file(pdf, "tiff", image, "", 0);
@@ -2488,7 +2496,9 @@
RETURN_FALSE;
}
+#ifdef VIRTUAL_DIR
virtual_filepath((*arg3)->value.str.val, &image);
+#endif
pdf_image = PDF_open_image_file(pdf, (*arg2)->value.str.val, image, "", 0);