diff options
Diffstat (limited to 'libs/HTML/QuickForm/group.php')
-rw-r--r-- | libs/HTML/QuickForm/group.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/HTML/QuickForm/group.php b/libs/HTML/QuickForm/group.php index 6a538ea8f5..9ecda4958d 100644 --- a/libs/HTML/QuickForm/group.php +++ b/libs/HTML/QuickForm/group.php @@ -26,7 +26,7 @@ /** * Base class for form elements */ -require_once 'HTML/QuickForm/element.php'; +require_once dirname(__FILE__) . '/element.php'; /** * HTML class for a form element group @@ -298,7 +298,7 @@ class HTML_QuickForm_group extends HTML_QuickForm_element */ function toHtml() { - include_once('HTML/QuickForm/Renderer/Default.php'); + include_once(dirname(__FILE__) . '/Renderer/Default.php'); $renderer = new HTML_QuickForm_Renderer_Default(); $renderer->setElementTemplate('{element}'); $this->accept($renderer); |