Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add module version info; for phpinfo() etc.
  • Loading branch information
geomunion authored and AlexanderGabriel committed Oct 5, 2018
1 parent 7de2cd9 commit cd32df8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mapscript/mapscript.i
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions mapscript/phpng/php7module.i
@@ -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.