Import/Core_notify.php
authorEdward <edward@roojs.com>
Wed, 11 Feb 2015 07:51:36 +0000 (15:51 +0800)
committerEdward <edward@roojs.com>
Wed, 11 Feb 2015 07:51:36 +0000 (15:51 +0800)
Import/Core_notify.php

index 8f76cdc..66f6045 100644 (file)
@@ -59,8 +59,21 @@ class Pman_Core_Import_Core_notify extends Pman_Roo
     function config()
     {
         foreach ($this->modules as $m){
-            $file = $this->rootDir. "/Pman/$m/NotifyType.json";
+            $file = $this->rootDir. "/Pman/$m/Core.NotifyType.json";
+            
+            if(!file_exists($file)){
+                continue;
+            }
+            
+            $config = json_decode(file_get_contents($file), true);
+            
+            print_R($config);
+            
+            
+            
+            
         }
+        exit;
     }
     
     function log($str)