From: Jan Schneider Date: Mon, 13 Sep 2010 12:36:00 +0000 (+0200) Subject: Fix app initialization. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=41c32ec5cb045ebb975ea3674c1c197e396c2b07;p=horde.git Fix app initialization. --- diff --git a/mnemo/themes/categoryCSS.php b/mnemo/themes/categoryCSS.php index 86e21dc0b..baffc29f4 100644 --- a/mnemo/themes/categoryCSS.php +++ b/mnemo/themes/categoryCSS.php @@ -1,8 +1,6 @@ */ -@define('AUTH_HANDLER', true); -@define('MNEMO_BASE', dirname(__FILE__) . '/..'); -require_once MNEMO_BASE . '/lib/Application.php'; -require_once 'Horde/Image.php'; +require_once dirname(__FILE__) . '/../lib/Application.php'; +Horde_Registry::appInit('nag'); header('Content-Type: text/css'); diff --git a/nag/themes/categoryCSS.php b/nag/themes/categoryCSS.php index 0afa81260..baffc29f4 100644 --- a/nag/themes/categoryCSS.php +++ b/nag/themes/categoryCSS.php @@ -1,6 +1,6 @@