summaryrefslogtreecommitdiff
path: root/ext/cpdf
diff options
context:
space:
mode:
Diffstat (limited to 'ext/cpdf')
-rw-r--r--ext/cpdf/cpdf.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/cpdf/cpdf.c b/ext/cpdf/cpdf.c
index 973f7ca5dc..30a9b2840b 100644
--- a/ext/cpdf/cpdf.c
+++ b/ext/cpdf/cpdf.c
@@ -42,7 +42,6 @@
#include "php_globals.h"
#include "ext/standard/php_standard.h"
#include "ext/standard/head.h"
-#include "ext/standard/info.h"
#include <math.h>
#if HAVE_LIBGD13
#include <gd.h>
@@ -58,6 +57,7 @@
#if HAVE_CPDFLIB
#include "php_cpdf.h"
+#include "ext/standard/info.h"
#ifdef THREAD_SAFE
DWORD CPDFlibTls;
@@ -187,7 +187,11 @@ PHP_RINIT_FUNCTION(cpdf)
PHP_MINFO_FUNCTION(cpdf) {
/* need to use a PHPAPI function here because it is external module in windows */
- php_printf("Version %s", cpdf_version());
+ /* (don't knwo if that still applies (cmv) */
+ php_info_print_table_start();
+ php_info_print_table_row(2, "CPDF Support", "enabled");
+ php_info_print_table_row(2, "Version", cpdf_version() );
+ php_info_print_table_end();
}
PHP_MSHUTDOWN_FUNCTION(cpdf){