From 10da93abf2c9a04578c19dc83ac39711219c0ded Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 11 Feb 2015 15:51:36 +0800 Subject: [PATCH] Import/Core_notify.php --- Import/Core_notify.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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) -- 2.39.2