$this->modules = $this->modulesList();
- $this->config();
+ $this->defaults();
$this->etype();
$this->etype->insert();
}
- function config()
+ function defaults()
{
foreach ($this->modules as $m){
$file = $this->rootDir. "/Pman/$m/Core.NotifyType.json";
continue;
}
- $config = json_decode(file_get_contents($file), true);
-
- print_R($config);
-
-
-
+ $this->defaults[$m] = json_decode(file_get_contents($file), true);
}
exit;