From: Zeev Suraski Date: Tue, 18 Jan 2000 19:15:45 +0000 (+0000) Subject: Make the phpinfo() images work properly again X-Git-Tag: BEFORE_SAPIFICATION_FEB_10_2000~206 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6ac18841da9eee22b80f1cf9f1884e08519dd0f;p=php Make the phpinfo() images work properly again --- 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); } }