diff options
| author | Zeev Suraski <zeev@php.net> | 2000-01-18 19:15:45 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2000-01-18 19:15:45 +0000 |
| commit | f6ac18841da9eee22b80f1cf9f1884e08519dd0f (patch) | |
| tree | ee2ad95e58e243b68d07e05c797324f3ed7b9076 | |
| parent | cd377b646dc914770c169c3fb50c22e8fd84f1d8 (diff) | |
| download | php-git-f6ac18841da9eee22b80f1cf9f1884e08519dd0f.tar.gz | |
Make the phpinfo() images work properly again
| -rw-r--r-- | main/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c index d510a8dfbb..7178c3fc1a 100644 --- a/main/main.c +++ b/main/main.c @@ -1191,6 +1191,7 @@ PHPAPI void php_execute_script(zend_file_handle *primary_file CLS_DC ELS_DC PLS_ zend_file_handle prepend_file, append_file; SLS_FETCH(); + zend_activate_modules(); if (SG(request_info).query_string && SG(request_info).query_string[0]=='=' && PG(expose_php)) { if (!strcmp(SG(request_info).query_string+1, PHP_LOGO_GUID)) { @@ -1239,7 +1240,6 @@ PHPAPI void php_execute_script(zend_file_handle *primary_file CLS_DC ELS_DC PLS_ if (EG(main_op_array)) { zend_hash_environment(PLS_C ELS_CC SLS_CC); EG(active_op_array) = EG(main_op_array); - zend_activate_modules(); zend_execute(EG(main_op_array) ELS_CC); } } |
