X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=php-tld.patch;fp=php-tld.patch;h=5c54bdb031b141c6fe6e6ddd24dc46b662abdbc7;hb=0462ff5f30fcb7f5ac2a199114e810041d9f643b;hp=0000000000000000000000000000000000000000;hpb=a1fbf4d7941db9f3c6cd739f79ae3da1ecb95147;p=packages%2Fphp.git
diff --git a/php-tld.patch b/php-tld.patch
new file mode 100644
index 0000000..5c54bdb
--- /dev/null
+++ b/php-tld.patch
@@ -0,0 +1,22 @@
+--- php-4.3.3RC3/ext/standard/info.c.orig 2003-06-19 18:43:41.000000000 +0200
++++ php-4.3.3RC3/ext/standard/info.c 2003-08-16 21:37:18.705836072 +0200
+@@ -518,6 +518,20 @@
+ PUTS(!sapi_module.phpinfo_as_text?"
":"\n");
+ PUTS(zend_version);
+ php_info_print_box_end();
++ /* TLD Linux */
++ php_info_print_box_start(0);
++ if (expose_php && !sapi_module.phpinfo_as_text) {
++ PUTS("");
++ if (SG(request_info).request_uri) {
++ PUTS(SG(request_info).request_uri);
++ }
++ }
++ PUTS("This server is using TLD Linux.");
++ if (!sapi_module.phpinfo_as_text)
++ PUTS("
More information at http://www.tld-linux.org/.
\n");
++ else
++ PUTS("\nMore information at http://www.tld-linux.org/.\n");
++ php_info_print_box_end();
+ efree(php_uname);
+ }