projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdc52c7
)
Notify.php
author
Alan Knowles
<alan@akbkhome.com>
Wed, 6 Apr 2011 08:31:38 +0000
(16:31 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 6 Apr 2011 08:31:38 +0000
(16:31 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
36aad25
..
a65cf31
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-56,7
+56,20
@@
class Pman_Core_Notify extends Pman
}
function run($id) {
+ $php = 'php';
+ $cwd = realpath(dirname(__FILE__) . '/../../');
+ $app = 'index.php' .'/Core/NotifySend.php '. $id;
+ $cmd = $php . ' ' . $app;
+ $p = proc_open($cmd, $cwd , array());
+ $this->pool[] = $p;
+ }
+
+ function poolfree() {
+ foreach($this->pool as $p)
+
+
}
+
}
\ No newline at end of file