diff options
| author | Zeev Suraski <zeev@php.net> | 1999-12-21 20:35:43 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-12-21 20:35:43 +0000 |
| commit | e538fcbf10c6b15e064ab8dea9d205dc1ed458ea (patch) | |
| tree | 024e4a09bae23fcd5a5e17d2dc584832cb6c9bb7 /main/main.c | |
| parent | f0888ccaef222093c962eef72857e424f0fc5cb7 (diff) | |
| download | php-git-e538fcbf10c6b15e064ab8dea9d205dc1ed458ea.tar.gz | |
@- Fixed a bug in ODBC error reporting (Zeev)
@- Added PHP_Logo_GUID() and Zend_Logo_GUID() functions, that return the GUIDs
@ of the PHP and Zend logos used in phpinfo() (Zeev)
Diffstat (limited to 'main/main.c')
| -rw-r--r-- | main/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c index e2ba3fb2d0..62cd683dc0 100644 --- a/main/main.c +++ b/main/main.c @@ -1224,13 +1224,13 @@ PHPAPI void php_execute_script(zend_file_handle *primary_file CLS_DC ELS_DC PLS_ if (SG(request_info).query_string && SG(request_info).query_string[0]=='=' && PG(expose_php)) { - if (!strcmp(SG(request_info).query_string+1, "PHPE9568F34-D428-11d2-A769-00AA001ACF42")) { + if (!strcmp(SG(request_info).query_string+1, PHP_LOGO_GUID)) { char *header_line = estrndup(CONTEXT_TYPE_IMAGE_GIF, sizeof(CONTEXT_TYPE_IMAGE_GIF)); php4i_add_header_information(header_line, sizeof(CONTEXT_TYPE_IMAGE_GIF)-1); PHPWRITE(php4_logo, sizeof(php4_logo)); return; - } else if (!strcmp(SG(request_info).query_string+1, "PHPE9568F35-D428-11d2-A769-00AA001ACF42")) { + } else if (!strcmp(SG(request_info).query_string+1, ZEND_LOGO_GUID)) { char *header_line = estrndup(CONTEXT_TYPE_IMAGE_GIF, sizeof(CONTEXT_TYPE_IMAGE_GIF)); php4i_add_header_information(header_line, sizeof(CONTEXT_TYPE_IMAGE_GIF)-1); |
