Ticket #1382 (assigned)
Can't use external ADODB / Smarty
Priority: | normal | Reporter: | johnpye |
---|---|---|---|
Severity: | feature | Assigned to: | mugur (accepted) |
Component: | Install Scripts | Status: | assigned |
Version: | none | Resolution: | |
Milestone: | 2.6.0 | Keywords: |
Description by johnpye:
Campsite comes bundled with its own versions of [ADODB] and [Smarty]. I wonder if it would be desirable to allow campsite to be installed such that it uses an already-installed instance of either of these. It would be a matter of adding another configuration setting.
In the case of an RPM-based build, it would allow ADODB and/or Smarty to be upgraded, for example in the case of a security update, easily and without requiring the campsite installer to be started up.
The line of code which prevents this from working is in require_once($g_documentRoot.'/include/adodb/adodb.inc.php');
It would need to change to require_once('adodb/adodb.inc.php');
and a corresponding change made to the php.ini or httpd.conf file made.
JP
Changelog
Wed Aug 10 08:57:14 2005: Modified by Paul Baranowski <[email protected]>
Mon Sep 5 22:41:54 2005: Modified by paul
- owner changed from anonymous to john
This should be a configuration option, to use the installed libraries or use the ones that come bundled with Campsite.
Tue Dec 6 17:27:59 2005: Modified by mugur
- milestone changed from 2.4.0 to 2.5.0
- status changed from new to assigned
- owner changed from john to mugur
Wed Jan 11 06:46:26 2006: Modified by paul
- milestone changed from 2.5.0 to 2.6.0
- severity changed from minor to feature
- version changed from 2.3.0 to none
Upgrading a package in this way could break the application itself if the API changes. It might be better for us to issue a patch if there are any security vulnerabilities.