Notify.php
authorAlan Knowles <alan@akkbhome.com>
Sun, 10 Apr 2011 07:53:20 +0000 (15:53 +0800)
committerAlan Knowles <alan@akkbhome.com>
Sun, 10 Apr 2011 07:53:20 +0000 (15:53 +0800)
Notify.php

index 633899a..31fa14d 100644 (file)
@@ -93,8 +93,8 @@ class Pman_Core_Notify extends Pman
                 $pool[] = $p;
                 continue;
             }
-            echo $p['cmd'] . " : " . stream_get_contents($p['out']);
-            unlink($pp['out']);
+            echo $p['cmd'] . " : " . file_get_contents($p['out']);
+            unlink($p['out']);
         }
         $this->pool = $pool;
         if (count($pool) < 10) {