diff options
Diffstat (limited to 'libs/HTML/QuickForm/RuleRegistry.php')
-rw-r--r-- | libs/HTML/QuickForm/RuleRegistry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/HTML/QuickForm/RuleRegistry.php b/libs/HTML/QuickForm/RuleRegistry.php index 89e98144e6..c257fc328d 100644 --- a/libs/HTML/QuickForm/RuleRegistry.php +++ b/libs/HTML/QuickForm/RuleRegistry.php @@ -123,7 +123,7 @@ class HTML_QuickForm_RuleRegistry if (!isset($this->_rules[$class])) { if (!empty($path)) { - include_once($path); + include_once(dirname(__FILE__) . '/../../' . $path); } $this->_rules[$class] = new $class(); } |