From 933c84c127b9b912fd866a4335cd0e7ea04a5431 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 2 Apr 2010 17:19:28 +0000 Subject: [PATCH] Fix: store triggers path to $conf --- htdocs/core/conf.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/core/conf.class.php b/htdocs/core/conf.class.php index 813243cf9ab..b920774f506 100644 --- a/htdocs/core/conf.class.php +++ b/htdocs/core/conf.class.php @@ -132,8 +132,7 @@ class Conf if (preg_match('/^MAIN_MODULE_([A-Z]+)_TRIGGERS$/i',$key,$regs) && $value) { $modulename = strtolower($regs[1]); - $pathoftrigger = DOL_DOCUMENT_ROOT.'/'.$modulename.'/inc/triggers/'; - $this->triggers_modules[] = $pathoftrigger; + $this->triggers_modules[] = DOL_DOCUMENT_ROOT.'/'.$modulename.'/inc/triggers/'; } // If this is constant to force a module directories (used to manage some exceptions) // Should not be used by modules