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