diff options
author | Andrew Faulds <ajfweb@googlemail.com> | 2012-07-14 23:20:45 +0100 |
---|---|---|
committer | Andrew Faulds <ajfweb@googlemail.com> | 2012-07-14 23:20:45 +0100 |
commit | ee6540ad092ce2f2aedb2e677b292b58acdca9be (patch) | |
tree | e7dd3431f3a86d0463494d85439c84e5730748a6 /ext/standard/info.c | |
parent | 92d2aeb234146978ef1175767579ce3eb30d37fd (diff) | |
download | php-git-ee6540ad092ce2f2aedb2e677b292b58acdca9be.tar.gz |
Removed now-unnecessary expose_php checks for logo
Diffstat (limited to 'ext/standard/info.c')
-rw-r--r-- | ext/standard/info.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c index b27468e3eb..a63fd4c5c5 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -652,7 +652,6 @@ PHPAPI void php_print_info(int flag TSRMLS_DC) { char **env, *tmp1, *tmp2; char *php_uname; - int expose_php = INI_INT("expose_php"); if (!sapi_module.phpinfo_as_text) { php_print_info_htmlhead(TSRMLS_C); @@ -670,7 +669,7 @@ PHPAPI void php_print_info(int flag TSRMLS_DC) php_info_print_box_start(1); } - if (expose_php && !sapi_module.phpinfo_as_text) { + if (!sapi_module.phpinfo_as_text) { time_t the_time; struct tm *ta, tmbuf; @@ -783,7 +782,7 @@ PHPAPI void php_print_info(int flag TSRMLS_DC) /* Zend Engine */ php_info_print_box_start(0); - if (expose_php && !sapi_module.phpinfo_as_text) { + if (!sapi_module.phpinfo_as_text) { php_info_print("<a href=\"http://www.zend.com/\"><img border=\"0\" src=\""); php_info_print(ZEND_LOGO_DATA_URI "\" alt=\"Zend logo\" /></a>\n"); } @@ -798,7 +797,7 @@ PHPAPI void php_print_info(int flag TSRMLS_DC) efree(php_uname); } - if ((flag & PHP_INFO_CREDITS) && expose_php && !sapi_module.phpinfo_as_text) { + if ((flag & PHP_INFO_CREDITS) && !sapi_module.phpinfo_as_text) { php_info_print_hr(); php_info_print("<script>(function () {\n"); php_info_print("'use strict';\n"); |