mirror of
https://github.com/php/php-src.git
synced 2025-01-19 18:24:15 +08:00
make sure the images on the phpinfo() page point to PHP-enabled pages
This commit is contained in:
parent
af88aa5474
commit
4f7b0a0ccd
@ -107,7 +107,9 @@ void _php3_info(void)
|
||||
#endif
|
||||
|
||||
|
||||
PUTS("<img src=\"?=PHPE9568F34-D428-11d2-A769-00AA001ACF42\" border=\"0\" width=\"100\" height=\"56\" align=\"right\">\n");
|
||||
PUTS("<img src=\"");
|
||||
PUTS(GLOBAL(php3_rqst)->uri);
|
||||
PUTS("?=PHPE9568F34-D428-11d2-A769-00AA001ACF42\" border=\"0\" width=\"100\" height=\"56\" align=\"right\">\n");
|
||||
php3_printf("<center><h1>PHP Version %s</h1></center>\n", PHP_VERSION);
|
||||
PUTS("<p>by <a href=\"mailto:rasmus@lerdorf.on.ca\">Rasmus Lerdorf</a>,\n");
|
||||
PUTS("<a href=\"mailto:andi@zend.com\">Andi Gutmans</a>,\n");
|
||||
@ -384,7 +386,9 @@ void _php3_info(void)
|
||||
PUTS("<hr>\n");
|
||||
PUTS("<table width=\"100%%\"><tr>\n");
|
||||
php3_printf("<td><h2>Zend</h2>This program makes use of the Zend scripting language engine:<br><pre>%s</pre></td>", get_zend_version());
|
||||
PUTS("<td width=\"100\"><a href=\"http://www.zend.com/\"><img src=\"?=PHPE9568F35-D428-11d2-A769-00AA001ACF42\" border=\"0\" width=\"100\" height=\"89\"></a></td>\n");
|
||||
PUTS("<td width=\"100\"><a href=\"http://www.zend.com/\"><img src=\"");
|
||||
PUTS(GLOBAL(php3_rqst)->uri);
|
||||
PUTS("?=PHPE9568F35-D428-11d2-A769-00AA001ACF42\" border=\"0\" width=\"100\" height=\"89\"></a></td>\n");
|
||||
PUTS("</tr></table>\n");
|
||||
|
||||
SECTION("PHP License");
|
||||
|
Loading…
Reference in New Issue
Block a user