protected function checkCoordPluginsPath($config)
{
$coordplugins = array();
foreach ($config->coordplugins as $name => $conf) {
if (strpos($name, '.') !== false) {
$coordplugins[$name] = $conf;
continue;
}
if (!isset($config->_pluginsPathList_coord[$name])) {
throw new Exception("Error in the main configuration. A plugin doesn't exist -- The coord plugin {$name} is unknown.", 7);
}
if ($conf) {
if ($conf != '1' && !file_exists(App::configPath($conf))) {
throw new Exception("Error in the main configuration. A plugin configuration file doesn't exist -- Configuration file for the coord plugin {$name} doesn't exist: '{$conf}'", 8);
}
$coordplugins[$name] = $conf;
}
}
$config->coordplugins = $coordplugins;
}