6.0.0-beta1
7/8/25

[#8165] Overwriting include_path in core.php
Summary Overwriting include_path in core.php
Queue Horde Groupware Webmail Edition
Queue Version 1.2.2
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester rdorfner (at) sysdesign-edv (dot) de
Created 04/08/2009 (5935 days ago)
Due
Updated 04/17/2009 (5926 days ago)
Assigned
Resolved 04/16/2009 (5927 days ago)
Milestone
Patch No

History
04/17/2009 12:13:08 PM Jan Schneider Comment #4 Reply to this comment
I already explained it. If you need full flexibility, don't use the 
groupware bundle.
04/17/2009 11:36:17 AM rdorfner (at) sysdesign-edv (dot) de Comment #3 Reply to this comment
OK, it makes sense for me to encapsulate the Webmail Bundle.



But why no create a new item in the Configuration "PHP Settings" 
section (horde config.php), e.g. "Additonal Include Paths" and use the 
values/variable to expand the path?



Advantages:

- Furthermore "clean"  include_path

- Flexibility to expand it within configuration panel



Disadvantages:

- some work to implement
No, because to the purpose of the groupware bundles is to deliver a
complete, well defined package of components. We don't want any
interference with outside PEAR installs. If you need more
flexibility, install the Horde applications separately.
04/16/2009 05:38:15 PM Jan Schneider Comment #2
State ⇒ Rejected
Reply to this comment
No, because to the purpose of the groupware bundles is to deliver a 
complete, well defined package of components. We don't want any 
interference with outside PEAR installs. If you need more flexibility, 
install the Horde applications separately.
04/08/2009 07:21:57 AM rdorfner (at) sysdesign-edv (dot) de Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ Overwriting include_path in core.php
Type ⇒ Enhancement
State ⇒ New
Reply to this comment
I am using additional PHP Libraries and appended the PHP 
"include_path" within apaches VHOST directive.



Unfortunately, horde overwrites the whole "include_path"  in core.lib.



lib/core.php:

ini_set('include_path', dirname(__FILE__) . PATH_SEPARATOR . 
dirname(__FILE__) . '/../pear' );



Should it not be better to expand the "include_path" like with 
something like that?



ini_set('include_path', dirname(__FILE__) . PATH_SEPARATOR . 
dirname(__FILE__) . '/../pear' . PATH_SEPARATOR . get_include_path());






Saved Queries