projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
10da93a
)
Import/Core_notify.php
author
Edward
<edward@roojs.com>
Wed, 11 Feb 2015 07:52:11 +0000
(15:52 +0800)
committer
Edward
<edward@roojs.com>
Wed, 11 Feb 2015 07:52:11 +0000
(15:52 +0800)
Import/Core_notify.php
patch
|
blob
|
history
diff --git
a/Import/Core_notify.php
b/Import/Core_notify.php
index
66f6045
..
473d648
100644
(file)
--- a/
Import/Core_notify.php
+++ b/
Import/Core_notify.php
@@
-31,7
+31,7
@@
class Pman_Core_Import_Core_notify extends Pman_Roo
$this->modules = $this->modulesList();
$this->modules = $this->modulesList();
- $this->
config
();
+ $this->
defaults
();
$this->etype();
$this->etype();
@@
-56,7
+56,7
@@
class Pman_Core_Import_Core_notify extends Pman_Roo
$this->etype->insert();
}
$this->etype->insert();
}
- function
config
()
+ function
defaults
()
{
foreach ($this->modules as $m){
$file = $this->rootDir. "/Pman/$m/Core.NotifyType.json";
{
foreach ($this->modules as $m){
$file = $this->rootDir. "/Pman/$m/Core.NotifyType.json";
@@
-65,12
+65,7
@@
class Pman_Core_Import_Core_notify extends Pman_Roo
continue;
}
continue;
}
- $config = json_decode(file_get_contents($file), true);
-
- print_R($config);
-
-
-
+ $this->defaults[$m] = json_decode(file_get_contents($file), true);
}
exit;
}
exit;