{
char **env,*tmp1,*tmp2;
char *php3_uname;
- int allow_builtin_links = INI_INT("allow_builtin_links");
+ int expose_php = INI_INT("expose_php");
#if WIN32|WINNT
char php3_windows_uname[256];
DWORD dwBuild=0;
php_printf("<center><h1>PHP Version %s</h1></center>\n", PHP_VERSION);
PUTS("<hr>");
- if (allow_builtin_links) {
+ if (expose_php) {
PUTS("<a href=\"http://www.php.net/\"><img src=\"");
if (SG(request_info).request_uri) {
PUTS(SG(request_info).request_uri);
#endif
/* Zend Engine */
PUTS("<hr>");
- if (allow_builtin_links) {
+ if (expose_php) {
PUTS("<a href=\"http://www.zend.com/\"><img src=\"");
if (SG(request_info).request_uri) {
PUTS(SG(request_info).request_uri);
PUTS("<center>");
- if ((flag & PHP_INFO_CREDITS) && allow_builtin_links) {
+ if ((flag & PHP_INFO_CREDITS) && expose_php) {
PUTS("<hr>");
PUTS("<a href=\"");
if (SG(request_info).request_uri) {
STD_PHP_INI_BOOLEAN("sql.safe_mode", "0", PHP_INI_SYSTEM, OnUpdateBool, sql_safe_mode, php_core_globals, core_globals)
STD_PHP_INI_ENTRY("safe_mode_exec_dir", "1", PHP_INI_SYSTEM, OnUpdateString, safe_mode_exec_dir, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("enable_dl", "1", PHP_INI_SYSTEM, OnUpdateBool, enable_dl, php_core_globals, core_globals)
- PHP_INI_ENTRY_EX("allow_builtin_links", "0", PHP_INI_ALL, NULL, php_ini_boolean_displayer_cb)
+ PHP_INI_ENTRY_EX("expose_php", "1", PHP_INI_ALL, NULL, php_ini_boolean_displayer_cb)
PHP_INI_ENTRY("SMTP", "localhost", PHP_INI_ALL, NULL)
PHP_INI_ENTRY("sendmail_path", DEFAULT_SENDMAIL_PATH, PHP_INI_SYSTEM, NULL)
SLS_FETCH();
if (SG(request_info).query_string && SG(request_info).query_string[0]=='='
- && INI_INT("allow_builtin_links")) {
+ && INI_INT("expose_php")) {
if (!strcmp(SG(request_info).query_string+1, "PHPE9568F34-D428-11d2-A769-00AA001ACF42")) {
char *header_line = estrndup(CONTEXT_TYPE_IMAGE_GIF, sizeof(CONTEXT_TYPE_IMAGE_GIF));
highlight.html = #000000
; Misc
-allow_builtin_links = Off ; Sets whether phpinfo() will generate built-in links that display the PHP
- ; and Zend logos, and tells PHP whether to honor them or not.
- ; It is no security threat in any way, but it makes it possible
- ; to determine whether you use PHP on your server or not.
+expose_php = On ; Decides whether PHP may expose the fact that it is installed on the
+ ; server (e.g., by adding its signature to the Web server header).
+ ; It is no security threat in any way, but it makes it possible
+ ; to determine whether you use PHP on your server or not.