cvs: php4 /ext/dotnet dotnet.cpp

From: Date: Fri, 02 Feb 2001 15:02:05 +0000
Subject: cvs: php4 /ext/dotnet dotnet.cpp
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3867@lists.php.net to get a copy of this message
phanto Fri Feb 2 07:02:05 2001 EDT Modified files: /php4/ext/dotnet dotnet.cpp Log: correct phpinfo() output Index: php4/ext/dotnet/dotnet.cpp diff -u php4/ext/dotnet/dotnet.cpp:1.3 php4/ext/dotnet/dotnet.cpp:1.4 --- php4/ext/dotnet/dotnet.cpp:1.3 Mon Jan 29 13:54:45 2001 +++ php4/ext/dotnet/dotnet.cpp Fri Feb 2 07:02:04 2001 @@ -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 @@ {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 @@ if (FAILED(hr)) return hr; php_register_DOTNET_class(); - REGISTER_INI_ENTRIES(); return SUCCESS; } @@ -206,7 +203,6 @@ { dotnet_term(); CoUninitialize(); - UNREGISTER_INI_ENTRIES(); return SUCCESS; }

« previous php.cvs (#3867) next »