projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d659c6e
)
Notify.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 15 Aug 2011 06:50:03 +0000
(14:50 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 15 Aug 2011 06:50:03 +0000
(14:50 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
a3d8dec
..
dc3558c
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-178,7
+178,9
@@
class Pman_Core_Notify extends Pman
if ($this->force) {
$app .= ' -f';
}
-
+ if (!empty($this->send_to)) {
+ $app .= ' --sent-to='.escapeshellarg($this->send_to);
+ }
$cmd = $php . ' ' . $app. ' &';
echo $cmd . "\n";