[horde] Custom Horde_Core_Ui_VarRenderer error
Jan Schneider
jan at horde.org
Wed Jun 15 10:58:40 UTC 2011
Zitat von maxime <maxime at frequence-ecoles.net>:
> Hello,
> When I am using two Horde_Forms with custom renderer on the same page I
> get the error :
> "Cannot redeclare class Horde_Core_Ui_VarRenderer_Myrenderer"
> In the class Horde_Core_Ui_VarRenderer there is this code :
> <code>
> if (!empty($app)) {
> include $GLOBALS['registry']->get('fileroot', $app) .
> '/lib/Ui/VarRenderer/' . $driver . '.php';
> }
> </code>
> Could it be an "include_once" ?
Yes, makes sense. Fixed.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the horde
mailing list