Fix core loading.
authorJan Schneider <jan@horde.org>
Fri, 12 Mar 2010 18:10:44 +0000 (19:10 +0100)
committerJan Schneider <jan@horde.org>
Fri, 12 Mar 2010 18:10:44 +0000 (19:10 +0100)
wicked/opensearch.php

index 6aa878d..2cf3243 100644 (file)
@@ -8,14 +8,7 @@
  * @author Jan Schneider <jan@horde.org>
  */
 
-// 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();