Merge branch 'master' of github.com:thelia/thelia
Conflicts: composer.lock
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
define('THELIA_ROOT', realpath(__DIR__ .'/../') . "/");
|
||||
define('THELIA_CONF_DIR', THELIA_ROOT . '/local/config');
|
||||
define('THELIA_PLUGIN_DIR', THELIA_ROOT . '/local/plugins');
|
||||
define('THELIA_MODULE_DIR', THELIA_ROOT . '/local/modules');
|
||||
define('THELIA_TEMPLATE_DIR', THELIA_ROOT . 'templates/');
|
||||
$loader = require __DIR__ . "/vendor/autoload.php";
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ class Thelia extends Kernel
|
||||
foreach ($modules as $module) {
|
||||
|
||||
try {
|
||||
$loader = new XmlFileLoader($container, new FileLocator(THELIA_PLUGIN_DIR . "/" . ucfirst($module->getCode()) . "/Config"));
|
||||
$loader = new XmlFileLoader($container, new FileLocator(THELIA_MODULE_DIR . "/" . ucfirst($module->getCode()) . "/Config"));
|
||||
$loader->load("config.xml");
|
||||
} catch(\InvalidArgumentException $e) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user