com web/bugs: Also remove the Zend Engine logo like we do with the PHP logo: www/admin/index.php
| From: | Kalle Sommer Nielsen | Date: | Thu, 12 Oct 2017 13:17:24 +0000 |
| Subject: | com web/bugs: Also remove the Zend Engine logo like we do with the PHP logo: www/admin/index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26464@lists.php.net to get a copy of this message | ||
Commit: 3e4752a3dea2e0da68746fc7d13d1ec008ed44d8
Author: Kalle Sommer Nielsen <kalle@php.net> Thu, 12 Oct 2017 15:17:24 +0200
Parents: 8ff7338d2984b2aeee961775514e6c0b544645c9
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=3e4752a3dea2e0da68746fc7d13d1ec008ed44d8
Log:
Also remove the Zend Engine logo like we do with the PHP logo
Changed paths:
M www/admin/index.php
Diff:
diff --git a/www/admin/index.php b/www/admin/index.php
index 4c89a52..cfb1da8 100644
--- a/www/admin/index.php
+++ b/www/admin/index.php
@@ -41,8 +41,9 @@ if ($action === 'phpinfo') {
$m = array();
preg_match('!<body.*?>(.*)</body>!ims', $phpinfo, $m);
-
+
$m[1] = preg_replace('!<a href="http://www.php.net/"><img.*?></a>!ims',
'', $m[1]);
+ $m[1] = preg_replace('!<a href="http://www.zend.com/"><img.*?></a>!ims',
'', $m[1]);
$m[1] = str_replace(' width="600"', ' width="80%"',
$m[1]);
echo $m[1];