Track autoload changes
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 4 Aug 2009 23:33:19 +0000 (17:33 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 4 Aug 2009 23:33:19 +0000 (17:33 -0600)
imp/lib/base.php

index c2060bb..19cea7b 100644 (file)
@@ -76,7 +76,7 @@ $authentication = Horde_Util::nonInputVar('imp_authentication');
 if ($authentication == 'horde') {
     // Autoloading for imp is not set until pushApp(), so need to add lib
     // path here explicitly.
-    Horde_Autoloader::addClassPattern('/^IMP_/i', IMP_BASE . '/lib');
+    Horde_Autoloader::addClassPattern('/^IMP(?:$|_)/i', IMP_BASE . '/lib');
     IMP_Auth::$authType = 'horde';
 }