[Bug 5417] New: PEAR integration / collision issue
- From: bugzilla-daemon (at) xaraya.com
- Date: Fri, 10 Feb 2006 18:23:22 +0000 (GMT)
Please do not reply directly to this message. All additional comments should
be made in the comments box of this bug report.
http://bugs.xaraya.com/show_bug.cgi?id=5417
Summary: PEAR integration / collision issue
Product: App - Core
Version: Weekly Tarball
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3 - Standard
Component: Miscellaneous
AssignedTo: miko (at) xaraya.com
ReportedBy: pete.smith (at) mathworks.com
Xaraya Version: 1.0.1
PHP version:
WebServer:
I uncovered this the other day - I have a php base block that utilizes PEAR
classes. I of course would include the necessary package. I would get the
error "cannot redeclare class PEAR on ...." I tracked it down to the fact that
within the newsgroups module, they distribute their own PEAR class and it is
included. The CORE logic should expose somehow whether or not PEAR is available,
and include it by default. IF they don't have it, its ok to include the locally
distributed one, either that or just have PEAR.php as a part of the global dist,
and expose it through the API to module developers. They will probably want to
distribute though another package, and you dont want to distribute the whole
pear install. There just should be a way to leverage a centralized pear install
if you have it.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
--
Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Xaraya_bugs mailing list
Xaraya_bugs (at) xaraya.com
http://xaraya.com/mailman/listinfo/xaraya_bugs