File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -652,7 +652,6 @@ PHPAPI void php_print_info(int flag TSRMLS_DC)
652
652
{
653
653
char * * env , * tmp1 , * tmp2 ;
654
654
char * php_uname ;
655
- int expose_php = INI_INT ("expose_php" );
656
655
657
656
if (!sapi_module .phpinfo_as_text ) {
658
657
php_print_info_htmlhead (TSRMLS_C );
@@ -670,7 +669,7 @@ PHPAPI void php_print_info(int flag TSRMLS_DC)
670
669
php_info_print_box_start (1 );
671
670
}
672
671
673
- if (expose_php && !sapi_module .phpinfo_as_text ) {
672
+ if (!sapi_module .phpinfo_as_text ) {
674
673
time_t the_time ;
675
674
struct tm * ta , tmbuf ;
676
675
@@ -783,7 +782,7 @@ PHPAPI void php_print_info(int flag TSRMLS_DC)
783
782
784
783
/* Zend Engine */
785
784
php_info_print_box_start (0 );
786
- if (expose_php && !sapi_module .phpinfo_as_text ) {
785
+ if (!sapi_module .phpinfo_as_text ) {
787
786
php_info_print ("<a href=\"http://www.zend.com/\"><img border=\"0\" src=\"" );
788
787
php_info_print (ZEND_LOGO_DATA_URI "\" alt=\"Zend logo\" /></a>\n" );
789
788
}
@@ -798,7 +797,7 @@ PHPAPI void php_print_info(int flag TSRMLS_DC)
798
797
efree (php_uname );
799
798
}
800
799
801
- if ((flag & PHP_INFO_CREDITS ) && expose_php && !sapi_module .phpinfo_as_text ) {
800
+ if ((flag & PHP_INFO_CREDITS ) && !sapi_module .phpinfo_as_text ) {
802
801
php_info_print_hr ();
803
802
php_info_print ("<script>(function () {\n" );
804
803
php_info_print ("'use strict';\n" );
You can’t perform that action at this time.
0 commit comments