From: Michael J. Rubinsky Date: Fri, 22 Jan 2010 19:27:36 +0000 (-0500) Subject: HORDE_TEMPLATES won't be defined before we actually authenticate now X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=47694b9a8c610b3c1b3d33420f96bddbd08e27d5;p=horde.git HORDE_TEMPLATES won't be defined before we actually authenticate now --- diff --git a/horde/login.php b/horde/login.php index 7eef8cdfa..17d5e1fe6 100644 --- a/horde/login.php +++ b/horde/login.php @@ -296,7 +296,7 @@ if ($browser->isMobile()) { } } - require HORDE_TEMPLATES . '/login/mobile.inc'; + require $registry->get('templates', 'horde') . '/login/mobile.inc'; exit; } @@ -310,11 +310,11 @@ if (!empty($js_files)) { } } -require HORDE_TEMPLATES . '/common-header.inc'; -require HORDE_TEMPLATES . '/login/login.inc'; +require $registry->get('templates', 'horde') . '/common-header.inc'; +require $registry->get('templates', 'horde') . '/login/login.inc'; if (!empty($js_code)) { print '\n"; } -require HORDE_TEMPLATES . '/common-footer.inc'; +require $registry->get('templates', 'horde') . '/common-footer.inc';