projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e559a34
)
NotifySmtpCheck.php
author
edward
<edward@roojs.com>
Thu, 14 Jul 2016 05:24:56 +0000
(13:24 +0800)
committer
edward
<edward@roojs.com>
Thu, 14 Jul 2016 05:24:56 +0000
(13:24 +0800)
NotifySmtpCheck.php
patch
|
blob
|
history
diff --git
a/NotifySmtpCheck.php
b/NotifySmtpCheck.php
index
bd6fa46
..
1e73473
100644
(file)
--- a/
NotifySmtpCheck.php
+++ b/
NotifySmtpCheck.php
@@
-41,7
+41,9
@@
class Pman_Core_NotifySmtpCheck extends Pman
$ip = $element->item(0)->nodeValue;
- print_R($ip);exit;
+ $cmd = "host {$ip}";
+
+ $e = `$cmd`;
$error = array();