@@ 1254-1259 (lines=6) @@ | ||
1251 | } |
|
1252 | $file = $dir->getRealPath().'/config.yml'; |
|
1253 | $config = null; |
|
1254 | if (file_exists($file)) { |
|
1255 | $config = Yaml::parse(file_get_contents($file)); |
|
1256 | } else { |
|
1257 | $this['monolog']->warning("skip {$code} orm.path loading. config.yml not found.", array('path' => $file)); |
|
1258 | continue; |
|
1259 | } |
|
1260 | ||
1261 | $file = $dir->getRealPath().'/event.yml'; |
|
1262 | $event = null; |
|
@@ 1263-1267 (lines=5) @@ | ||
1260 | ||
1261 | $file = $dir->getRealPath().'/event.yml'; |
|
1262 | $event = null; |
|
1263 | if (file_exists($file)) { |
|
1264 | $event = Yaml::parse(file_get_contents($file)); |
|
1265 | } else { |
|
1266 | $this['monolog']->info("skip {$code} event.yml not found.", array('path' => $file)); |
|
1267 | } |
|
1268 | if (!is_null($config)) { |
|
1269 | $pluginConfigs[$code] = array( |
|
1270 | 'config' => $config, |