From: Edward Date: Wed, 11 Feb 2015 07:51:36 +0000 (+0800) Subject: Import/Core_notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=10da93abf2c9a04578c19dc83ac39711219c0ded Import/Core_notify.php --- diff --git a/Import/Core_notify.php b/Import/Core_notify.php index 8f76cdc6..66f60452 100644 --- a/Import/Core_notify.php +++ b/Import/Core_notify.php @@ -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)