X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;ds=inline;f=php-tld.patch;h=328752ccdb55ee496cd0a803c343c2800fbb347f;hb=fea55893bab76fc54eaa60d98e1f2184255a0e52;hp=28e3fe22a42673ee29d36d6d7f9e7a7ff4b66f74;hpb=a1055d9d3a75d1de366de2c14552b47ce05e17bd;p=packages%2Fphp.git
diff --git a/php-tld.patch b/php-tld.patch
index 28e3fe2..328752c 100644
--- a/php-tld.patch
+++ b/php-tld.patch
@@ -1,19 +1,17 @@
---- php-5.5.0alpha1/ext/standard/info.c~ 2012-11-13 22:00:16.000000000 +0200
-+++ php-5.5.0alpha1/ext/standard/info.c 2012-11-18 23:37:48.607735302 +0200
-@@ -794,6 +794,17 @@
- zend_html_puts(zend_version, strlen(zend_version) TSRMLS_CC);
+--- php-7.0.1/ext/standard/info.c 2015-12-18 12:02:05.000000000 +0000
++++ php-7.0.1/ext/standard/info.c 2015-12-18 12:02:27.523443158 +0000
+@@ -965,6 +965,14 @@
+ zend_html_puts(zend_version, strlen(zend_version));
}
php_info_print_box_end();
+ /* TLD Linux */
+ php_info_print_box_start(0);
-+ if (!sapi_module.phpinfo_as_text) {
-+ php_info_print("");
-+ }
+ php_info_print("This server is using TLD Linux.");
+ if (!sapi_module.phpinfo_as_text)
+ php_info_print("
More information at http://www.tld-linux.org/.
\n");
+ else
+ php_info_print("\nMore information at http://www.tld-linux.org/.\n");
+ php_info_print_box_end();
- efree(php_uname);
+ zend_string_free(php_uname);
}
+