diff options
| author | Zeev Suraski <zeev@php.net> | 2001-07-30 06:18:13 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-07-30 06:18:13 +0000 |
| commit | 797a079a95585a07bc7f26a79e04521d3b370177 (patch) | |
| tree | 39e195dd61222e38b934b64d51d3ab37199a0ad3 /ext/standard/info.c | |
| parent | e8ac55d03c31304b7a68e5b18c16338dff9a5eb5 (diff) | |
| download | php-git-797a079a95585a07bc7f26a79e04521d3b370177.tar.gz | |
More TSRMLS_FETCH work, and a bit of cleanup
Diffstat (limited to 'ext/standard/info.c')
| -rw-r--r-- | ext/standard/info.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c index fa1fef823e..ba84c689a0 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -42,10 +42,11 @@ PHPAPI extern char *php_ini_opened_path; static int _display_module_info(zend_module_entry *module, void *arg) { int show_info_func = *((int *) arg); + TSRMLS_FETCH(); if (show_info_func && module->info_func) { php_printf("<h2 align=\"center\"><a name=\"module_%s\">%s</a></h2>\n", module->name, module->name); - module->info_func(module); + module->info_func(module TSRMLS_CC); } else if (!show_info_func && !module->info_func) { php_printf("<tr valign=\"baseline\" bgcolor=\"" PHP_CONTENTS_COLOR "\">"); php_printf("<td>"); |
