@@ -132,27 +132,6 @@ zend_module_entry dcode_module_entry = {
132
132
ZEND_GET_MODULE (dcode )
133
133
#endif
134
134
135
- /* {{{ PHP_INI
136
- */
137
- /* Remove comments and fill if you need to have entries in php.ini
138
- PHP_INI_BEGIN()
139
- STD_PHP_INI_ENTRY("dcode.global_value", "42", PHP_INI_ALL, OnUpdateLong, global_value, zend_dcode_globals, dcode_globals)
140
- STD_PHP_INI_ENTRY("dcode.global_string", "foobar", PHP_INI_ALL, OnUpdateString, global_string, zend_dcode_globals, dcode_globals)
141
- PHP_INI_END()
142
- */
143
- /* }}} */
144
-
145
- /* {{{ php_dcode_init_globals
146
- */
147
- /* Uncomment this function if you have INI entries
148
- static void php_dcode_init_globals(zend_dcode_globals *dcode_globals)
149
- {
150
- dcode_globals->global_value = 0;
151
- dcode_globals->global_string = NULL;
152
- }
153
- */
154
- /* }}} */
155
-
156
135
/* {{{ PHP_MINIT_FUNCTION
157
136
*/
158
137
PHP_MINIT_FUNCTION (dcode )
@@ -168,9 +147,6 @@ PHP_MINIT_FUNCTION(dcode)
168
147
*/
169
148
PHP_MSHUTDOWN_FUNCTION (dcode )
170
149
{
171
- /* uncomment this line if you have INI entries
172
- UNREGISTER_INI_ENTRIES();
173
- */
174
150
return SUCCESS ;
175
151
}
176
152
/* }}} */
@@ -199,19 +175,13 @@ PHP_MINFO_FUNCTION(dcode)
199
175
{
200
176
php_info_print_table_start ();
201
177
php_info_print_table_header (2 , "dcode support" , "enabled" );
178
+ php_info_print_table_row (2 , "dcode" , "Version 0.1.0" );
179
+ php_info_print_table_row (2 , "QR Code encoder" , "Version 3.4.4" );
180
+ php_info_print_table_row (2 , "author" , "pochonlee@gmail.com" );
202
181
php_info_print_table_end ();
203
-
204
- /* Remove comments if you have entries in php.ini
205
- DISPLAY_INI_ENTRIES();
206
- */
207
182
}
208
183
/* }}} */
209
184
210
-
211
- /* Remove the following function when you have successfully modified config.m4
212
- so that your module can be compiled into PHP, it exists only for testing
213
- purposes. */
214
-
215
185
/** {{{ dcode_md5(char *src, uint src_len, char* out)
216
186
Return char* out */
217
187
static char * dcode_md5 (char * src , uint src_len , char * md5str )
0 commit comments