[srm-cvs] CVS Update: - Applied patch that makes phpinfo()) shows the values of various configuration

From: <d.rethans[@]jdimedia.nl>
Date: Thu Feb 21 2002 - 21:30:50 CET

Date: Thu Feb 21 21:30:49 CET 2002
User: Derick Rethans
Directory: sapi_srm

Log Message:
 [0.05]
 - Applied patch that makes phpinfo()) shows the values of various configuration
   settings. (Patch by Christian Dickmann <chrisdicki@gmx.de>)
 
Modified files:
           sapi_srm/srm.c (version: 1.43)

[FILE: /sapi_srm/srm.c]

--- sapi_srm/srm.c:1.42 Mon Feb 11 21:56:10 2002 GMT
+++ sapi_srm/srm.c Thu Feb 21 19:30:49 2002 GMT
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: cvstemp,v 1.42 2002/02/11 22:56:10 derick Exp $ */
+/* $Id: cvstemp,v 1.43 2002/02/21 20:30:49 derick Exp $ */
 
 #include "php.h"
 #include "php_ini.h"
@@ -59,6 +59,14 @@
 PHP_MINIT_FUNCTION(sapi_srm);
 PHP_MSHUTDOWN_FUNCTION(sapi_srm);
 
+/* {{{ INI Entries */
+BEGIN_INI_ENTRIES;
+ char *class_path;
+ char *function_library;
+END_INI_ENTRIES;
+/* }}} */
+
+
 /* {{{ PHP SAPI Module part */
 /* {{{ Structures */
 /* php_srm_context is per-server (thus only once at all) */
@@ -126,6 +134,10 @@
         php_info_print_table_header (2, "Script Running Magic", "enabled");
         php_info_print_table_row (2, "SRM API version", buffer1);
         php_info_print_table_row (2, "SRM sapi-module version", buffer2);
+
+ php_info_print_table_row (2, "banana.class_path", INI_SETTING(class_path));
+ php_info_print_table_row (2, "banana.function_library", INI_SETTING(function_library));
+
         php_info_print_table_end ();
 }
 /* }}} */
@@ -569,14 +581,6 @@
 #ifdef SRM_DLMODULES_SUPPORT
 SRM_GET_MODULE(sphp)
 #endif
-
-/* {{{ INI Entries */
-BEGIN_INI_ENTRIES;
- char *class_path;
- char *function_library;
-END_INI_ENTRIES;
-/* }}} */
-
 
 /* {{{ Helper functions */
 /* {{{ srm_load_function_library (void) */
Received on Thu Feb 21 21:30:49 2002

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 12:00:02 CET