mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Make the phpinfo() images work properly again
This commit is contained in:
parent
cd377b646d
commit
f6ac18841d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
zend_file_handle prepend_file, append_file;
|
||||||
SLS_FETCH();
|
SLS_FETCH();
|
||||||
|
|
||||||
|
zend_activate_modules();
|
||||||
if (SG(request_info).query_string && SG(request_info).query_string[0]=='='
|
if (SG(request_info).query_string && SG(request_info).query_string[0]=='='
|
||||||
&& PG(expose_php)) {
|
&& PG(expose_php)) {
|
||||||
if (!strcmp(SG(request_info).query_string+1, PHP_LOGO_GUID)) {
|
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)) {
|
if (EG(main_op_array)) {
|
||||||
zend_hash_environment(PLS_C ELS_CC SLS_CC);
|
zend_hash_environment(PLS_C ELS_CC SLS_CC);
|
||||||
EG(active_op_array) = EG(main_op_array);
|
EG(active_op_array) = EG(main_op_array);
|
||||||
zend_activate_modules();
|
|
||||||
zend_execute(EG(main_op_array) ELS_CC);
|
zend_execute(EG(main_op_array) ELS_CC);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue