projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63ce53a
)
NotifySmtpCheck.php
author
edward
<edward@roojs.com>
Thu, 14 Jul 2016 05:26:42 +0000
(13:26 +0800)
committer
edward
<edward@roojs.com>
Thu, 14 Jul 2016 05:26:42 +0000
(13:26 +0800)
NotifySmtpCheck.php
patch
|
blob
|
history
diff --git
a/NotifySmtpCheck.php
b/NotifySmtpCheck.php
index
abb9908
..
cf87c78
100644
(file)
--- a/
NotifySmtpCheck.php
+++ b/
NotifySmtpCheck.php
@@
-45,7
+45,7
@@
class Pman_Core_NotifySmtpCheck extends Pman
$e = `$cmd`;
- $helo =
array_pop(explode(' ', $e)
);
+ $helo =
substr(array_pop(explode(' ', $e)), 0, -1
);
print_R($helo);exit;