projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35a8b27
)
Chicken/egg problem when it comes to accessing IMP_Auth before pushApp()
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 27 Jul 2009 17:08:10 +0000
(11:08 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 27 Jul 2009 17:29:19 +0000
(11:29 -0600)
imp/lib/base.php
patch
|
blob
|
history
diff --git
a/imp/lib/base.php
b/imp/lib/base.php
index
8c17c6e
..
ef46859
100644
(file)
--- a/
imp/lib/base.php
+++ b/
imp/lib/base.php
@@
-74,6
+74,9
@@
if (($viewmode == 'dimp') && Horde_Util::nonInputVar('imp_dimp_logout')) {
// Determine imp authentication type.
$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');
IMP_Auth::$authType = 'horde';
}