6.0.0-beta1
7/29/25

[#6093] undefined constant IMP_BASE
Summary undefined constant IMP_BASE
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester tinu (at) humbapa (dot) ch
Created 01/09/2008 (6411 days ago)
Due
Updated 01/09/2008 (6411 days ago)
Assigned
Resolved 01/09/2008 (6411 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/09/2008 05:27:43 PM Chuck Hagenbuch Comment #2
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Reply to this comment
Fixed in CVS and FW_3.
01/09/2008 05:19:49 PM tinu (at) humbapa (dot) ch Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ undefined constant IMP_BASE
Queue ⇒ IMP
New Attachment: api.php.patch Download
Reply to this comment
the methode _imp_folderlist() in imp/lib/api.php calls 
IMP::checkAuthentication without defining IMP_BASE first.



so eg. ingo shows an error like:

Notice: Use of undefined constant IMP_BASE - assumed 'IMP_BASE' in 
...horde/imp/lib/Auth/imp.php on line 128

Warning: Auth_imp::require_once(IMP_BASE/lib/IMAP.php): failed to open 
stream...



my small patch tries to fix this.



thanks!

Saved Queries