summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorAndrew Faulds <ajfweb@googlemail.com>2012-07-14 21:44:21 +0100
committerAndrew Faulds <ajfweb@googlemail.com>2012-07-14 21:44:21 +0100
commitd12f8d67903e2c9775a0f2b647a9c29d61e02261 (patch)
treefccc88a77beda9c73a86291b86de43bf8e0303ca /main/php_variables.c
parentafba8b6597367625f36b7cddaa299e3aea0cda45 (diff)
downloadphp-git-d12f8d67903e2c9775a0f2b647a9c29d61e02261.tar.gz
Removed Logo GUIDs and replaced with Data URIs and div hidden with JS
- removed php_logo_guid() - removed php_egg_logo_guid() - removed php_real_logo_guid() - removed zend_logo_guid() - removed logo GUID handling - removed logo GUIDs from source - added logo data URIs instead for phpinfo() - added credits to phpinfo() page, but hidden by default
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index 427966170c..9952bd80bc 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -27,7 +27,6 @@
#include "php_globals.h"
#include "php_content_types.h"
#include "SAPI.h"
-#include "php_logos.h"
#include "zend_globals.h"
/* for systems that need to override reading of environment variables */
@@ -532,22 +531,6 @@ static void php_build_argv(char *s, zval *track_vars_array TSRMLS_DC)
}
/* }}} */
-/* {{{ php_handle_special_queries
- */
-PHPAPI int php_handle_special_queries(TSRMLS_D)
-{
- if (PG(expose_php) && SG(request_info).query_string && SG(request_info).query_string[0] == '=') {
- if (php_info_logos(SG(request_info).query_string + 1 TSRMLS_CC)) {
- return 1;
- } else if (!strcmp(SG(request_info).query_string + 1, PHP_CREDITS_GUID)) {
- php_print_credits(PHP_CREDITS_ALL TSRMLS_CC);
- return 1;
- }
- }
- return 0;
-}
-/* }}} */
-
/* {{{ php_register_server_variables
*/
static inline void php_register_server_variables(TSRMLS_D)