From ce45992f1b882ca56743c47290c6796c25f6f6d4 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Sat, 26 Jun 2010 00:17:31 +0200 Subject: [PATCH] Fix form loading. --- ingo/lib/{UI/VarRenderer/ingo.php => Ui/VarRenderer/Ingo.php} | 0 ingo/spam.php | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename ingo/lib/{UI/VarRenderer/ingo.php => Ui/VarRenderer/Ingo.php} (100%) diff --git a/ingo/lib/UI/VarRenderer/ingo.php b/ingo/lib/Ui/VarRenderer/Ingo.php similarity index 100% rename from ingo/lib/UI/VarRenderer/ingo.php rename to ingo/lib/Ui/VarRenderer/Ingo.php diff --git a/ingo/spam.php b/ingo/spam.php index 4b4355949..3d682e9d3 100644 --- a/ingo/spam.php +++ b/ingo/spam.php @@ -11,6 +11,9 @@ * @author Jan Schneider */ +require_once dirname(__FILE__) . '/lib/Application.php'; +Horde_Registry::appInit('ingo'); + /** * Dummy class to hold the select box created by {@link Ingo::flistSelect()}. * @@ -38,9 +41,6 @@ class Horde_Form_Type_ingo_folders extends Horde_Form_Type { } -require_once dirname(__FILE__) . '/lib/Application.php'; -Horde_Registry::appInit('ingo'); - if (!in_array(Ingo_Storage::ACTION_SPAM, $_SESSION['ingo']['script_categories'])) { $notification->push(_("Simple spam filtering is not supported in the current filtering driver."), 'horde.error'); header('Location: ' . Horde::applicationUrl('filters.php', true)); -- 2.11.0