File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 27
27
28
28
PHPAPI void php_print_credits (int flag TSRMLS_DC ) /* {{{ */
29
29
{
30
+ if (!sapi_module .phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE ) {
31
+ php_print_info_htmlhead (TSRMLS_C );
32
+ }
33
+
30
34
if (!sapi_module .phpinfo_as_text ) {
31
35
PUTS ("<h1>PHP Credits</h1>\n" );
32
36
} else {
@@ -119,6 +123,10 @@ PHPAPI void php_print_credits(int flag TSRMLS_DC) /* {{{ */
119
123
CREDIT_LINE ("Windows Infrastructure" , "Alex Schoenmaker" );
120
124
php_info_print_table_end ();
121
125
}
126
+
127
+ if (!sapi_module .phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE ) {
128
+ PUTS ("</div></body></html>\n" );
129
+ }
122
130
}
123
131
/* }}} */
124
132
Original file line number Diff line number Diff line change @@ -881,7 +881,7 @@ PHPAPI void php_print_info(int flag TSRMLS_DC)
881
881
882
882
if ((flag & PHP_INFO_CREDITS ) && !sapi_module .phpinfo_as_text ) {
883
883
php_info_print_hr ();
884
- php_print_credits (PHP_CREDITS_ALL TSRMLS_CC );
884
+ php_print_credits (PHP_CREDITS_ALL & ~ PHP_CREDITS_FULLPAGE TSRMLS_CC );
885
885
}
886
886
887
887
if (flag & PHP_INFO_LICENSE ) {
You can’t perform that action at this time.
0 commit comments