We still need to load at least IMP.php since autoloading only works from
authorJan Schneider <jan@horde.org>
Thu, 15 Jan 2009 16:56:49 +0000 (17:56 +0100)
committerJan Schneider <jan@horde.org>
Thu, 15 Jan 2009 16:56:49 +0000 (17:56 +0100)
inside IMP, but prefs.php is also loaded from outside IMP.

imp/config/prefs.php.dist

index 27f20be..0b47a37 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 // Make sure that constants are defined.
+require_once dirname(__FILE__) . '/../lib/IMP.php';
 $is_pop3 = isset($_SESSION['imp']['protocol']) && ($_SESSION['imp']['protocol'] == 'pop');
 
 $prefGroups['identities'] = array(