summaryrefslogtreecommitdiffstats
path: root/pdflib-phpinfo.patch
blob: a343da23de0ca197a330b5e77cf72a79cbf15a25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -up ./pdf.c.old ./pdf.c
--- ./pdf.c.old	2019-09-16 14:50:34.349661071 +0200
+++ ./pdf.c	2019-09-16 14:49:35.122885536 +0200
@@ -383,12 +383,8 @@ PHP_MINFO_FUNCTION(PDFlib)
 {
     php_info_print_table_start();
     php_info_print_table_header(2, "PDFlib Support", "enabled" );
-#ifdef PDF_FEATURE_INTERNAL
-    php_info_print_table_row(2, "PHP extension built by PDFlib GmbH", PDFLIB_VSTRING);
-#else /* PDF_FEATURE_INTERNAL */
-    php_info_print_table_row(2, "PHP extension built with PECL",  PDFLIB_VSTRING);
-    php_info_print_table_row(2, "PECL Version", PHP_PDFLIB_VERSION);
-#endif /* PDF_FEATURE_INTERNAL */
+    php_info_print_table_row(2, "pdflib extension version", PHP_PDFLIB_VERSION);
+    php_info_print_table_row(2, "pdflib-lite library version",  PDFLIB_VSTRING);
     php_info_print_table_end();
 }
 /* }}} */