This commit is contained in:
franck
2013-06-10 16:46:57 +02:00
parent 88199c2240
commit cc0073c7ae

View File

@@ -123,15 +123,15 @@ class Thelia extends Kernel
foreach ($modules as $module) {
try {
$loader = new XmlFileLoader($container, new FileLocator(THELIA_MODULE_DIR . "/" . ucfirst($module->getCode()) . "/Config"));
$loader->load("config.xml");
}
catch(\InvalidArgumentException $e) {
// FIXME: process module configuration exception
try {
$loader = new XmlFileLoader($container, new FileLocator(THELIA_MODULE_DIR . "/" . ucfirst($module->getCode()) . "/Config"));
$loader->load("config.xml");
}
catch(\InvalidArgumentException $e) {
// FIXME: process module configuration exception
}
}
}
}
/**