diff options
author | Andrew Faulds <ajfweb@googlemail.com> | 2012-07-14 21:44:21 +0100 |
---|---|---|
committer | Andrew Faulds <ajfweb@googlemail.com> | 2012-07-14 21:44:21 +0100 |
commit | d12f8d67903e2c9775a0f2b647a9c29d61e02261 (patch) | |
tree | fccc88a77beda9c73a86291b86de43bf8e0303ca /main/main.c | |
parent | afba8b6597367625f36b7cddaa299e3aea0cda45 (diff) | |
download | php-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/main.c')
-rw-r--r-- | main/main.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/main/main.c b/main/main.c index cc04b1317e..5eb9947fe7 100644 --- a/main/main.c +++ b/main/main.c @@ -86,7 +86,6 @@ #include "php_content_types.h" #include "php_ticks.h" -#include "php_logos.h" #include "php_streams.h" #include "php_open_temporary_file.h" @@ -2157,14 +2156,6 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod return FAILURE; } - /* initialize registry for images to be used in phpinfo() - (this uses configuration parameters from php.ini) - */ - if (php_init_info_logos() == FAILURE) { - php_printf("PHP: Unable to initialize info phpinfo logos.\n"); - return FAILURE; - } - zuv.html_errors = 1; zuv.import_use_extension = ".php"; php_startup_auto_globals(TSRMLS_C); @@ -2348,7 +2339,6 @@ void php_module_shutdown(TSRMLS_D) /* Destroys filter & transport registries too */ php_shutdown_stream_wrappers(module_number TSRMLS_CC); - php_shutdown_info_logos(); UNREGISTER_INI_ENTRIES(); /* close down the ini config */ @@ -2396,10 +2386,6 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC) int retval = 0; EG(exit_status) = 0; - if (php_handle_special_queries(TSRMLS_C)) { - zend_file_handle_dtor(primary_file TSRMLS_CC); - return 0; - } #ifndef HAVE_BROKEN_GETCWD # define OLD_CWD_SIZE 4096 old_cwd = do_alloca(OLD_CWD_SIZE, use_heap); |