Skip to content
Permalink
Browse files

add module version info; for phpinfo() etc.

  • Loading branch information...
geomunion authored and AlexanderGabriel committed Jun 23, 2018
1 parent 7de2cd9 commit cd32df83db730c9fefb601ecbc725d41673d30f5
Showing with 11 additions and 0 deletions.
  1. +6 −0 mapscript/mapscript.i
  2. +5 −0 mapscript/phpng/php7module.i
@@ -231,6 +231,12 @@ typedef struct {
%include "tclmodule.i"
#endif /* SWIGTCL8 */

/* PHP7 */
#ifdef SWIGPHP7
%include "php7module.i"
#endif /* SWIGPHP7 */


/*
=============================================================================
Wrap MapServer structs into mapscript classes
@@ -0,0 +1,5 @@
%pragma(php) phpinfo="
php_info_print_table_start();
php_info_print_table_row(2, \"MapServer Version\", msGetVersion());
php_info_print_table_end();
"

0 comments on commit cd32df8

Please sign in to comment.
You can’t perform that action at this time.