summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-04-17 01:52:58 +0000
committerStig Bakken <ssb@php.net>1999-04-17 01:52:58 +0000
commit4f7b0a0ccd9d40f81340dc6af8d371d257a443f7 (patch)
treea45d1dbc3f118f38a4c785ed201b85fa27cdb73a
parentaf88aa54742b9eaa568d74a23edd2493f9e82c4a (diff)
downloadphp-git-4f7b0a0ccd9d40f81340dc6af8d371d257a443f7.tar.gz
make sure the images on the phpinfo() page point to PHP-enabled pages
-rw-r--r--ext/standard/info.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 9d5ff9dfe0..a89460747e 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -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");