Simplify
authorJan Schneider <jan@horde.org>
Fri, 9 Jan 2009 13:50:00 +0000 (14:50 +0100)
committerJan Schneider <jan@horde.org>
Fri, 9 Jan 2009 14:05:54 +0000 (15:05 +0100)
imp/lib/base.php

index a479a40..77870d6 100644 (file)
@@ -44,7 +44,7 @@ if (!defined('IMP_BASE')) {
 // Load the Horde Framework core, and set up inclusion paths.
 require_once HORDE_BASE . '/lib/core.php';
 require_once 'Horde/Autoloader.php';
-Horde_Autoloader::addClassPattern('/^IMP_/', IMP_BASE . '/lib/');
+Horde_Autoloader::addClassPattern('/^IMP_/', dirname(__FILE__));
 
 // Registry.
 $s_ctrl = 0;