From 09410e906f3c089316e5ab858c52136c19cd5f3e Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Fri, 12 Mar 2010 19:10:44 +0100 Subject: [PATCH] Fix core loading. --- wicked/opensearch.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/wicked/opensearch.php b/wicked/opensearch.php index 6aa878d9e..2cf324315 100644 --- a/wicked/opensearch.php +++ b/wicked/opensearch.php @@ -8,14 +8,7 @@ * @author Jan Schneider */ -// Check for a prior definition of HORDE_BASE (perhaps by an -// auto_prepend_file definition for site customization). -if (!defined('HORDE_BASE')) { - @define('HORDE_BASE', dirname(__FILE__) . '/..'); -} - -// Load the Horde Framework core, and set up inclusion paths. -require_once HORDE_BASE . '/lib/core.php'; +require_once dirname(__FILE__) . '/lib/Application.php'; // Registry. $registry = new Horde_Registry(); -- 2.11.0