summaryrefslogtreecommitdiff
path: root/ext/dotnet/dotnet.cpp
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2001-02-02 15:02:05 +0000
committerHarald Radi <phanto@php.net>2001-02-02 15:02:05 +0000
commit58dc4ad8dbfb1ca5e63cce9cc544cd692539f968 (patch)
tree60096640bab74720e839a448dbd4302e378466b5 /ext/dotnet/dotnet.cpp
parent6745b16c8241928fd318365f453b9046b8b24173 (diff)
downloadphp-git-58dc4ad8dbfb1ca5e63cce9cc544cd692539f968.tar.gz
correct phpinfo() output
Diffstat (limited to 'ext/dotnet/dotnet.cpp')
-rw-r--r--ext/dotnet/dotnet.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/ext/dotnet/dotnet.cpp b/ext/dotnet/dotnet.cpp
index f20c1f46dd..b8e9d168ac 100644
--- a/ext/dotnet/dotnet.cpp
+++ b/ext/dotnet/dotnet.cpp
@@ -37,7 +37,7 @@
extern "C" { /* this should be included in the includes itself !! */
#include "php.h"
-#include "php_ini.h"
+#include "ext/standard/info.h"
}
@@ -179,15 +179,13 @@ function_entry DOTNET_functions[] = {
{NULL, NULL, NULL}
};
-
static PHP_MINFO_FUNCTION(DOTNET)
{
- DISPLAY_INI_ENTRIES();
+ php_info_print_table_start();
+ php_info_print_table_row(2, "DOTNET support", "enabled");
+ php_info_print_table_end();
}
-PHP_INI_BEGIN()
-PHP_INI_END()
-
PHP_MINIT_FUNCTION(DOTNET)
{
@@ -197,7 +195,6 @@ PHP_MINIT_FUNCTION(DOTNET)
if (FAILED(hr)) return hr;
php_register_DOTNET_class();
- REGISTER_INI_ENTRIES();
return SUCCESS;
}
@@ -206,7 +203,6 @@ PHP_MSHUTDOWN_FUNCTION(DOTNET)
{
dotnet_term();
CoUninitialize();
- UNREGISTER_INI_ENTRIES();
return SUCCESS;
}