Ticket #1280 (assigned enhancement)

Opened 7 years ago

Last modified 9 months ago

make SGL libs independent from framework

Reported by: demian Assigned to: demian (accepted)
Priority: high Milestone: 1.1
Component: SGL Severity: open
Keywords: Cc:

Description

In the scenario where you want to use SGL libs, but none of the modules or default initialisation routines, you should be able to.

Seagull already has a clean namespace policy which makes this an easy exercise, something PEAR is now thinking about:

http://pear.php.net/pepr/pepr-proposal-show.php?id=420

Very shortly you will have to do include 'PEAR/Config.php' instead of include 'Config.php'.

All that needs to be done is for the SGL_CORE_DIR to be added to the include path, and for that constant to be removed in the code. So including Seagull's config class (which will not conflict with PEAR's fortunately as it's a PEAR wrapper) will be done like include 'SGL/Config.php';

Change History

10/26/06 18:33:41 changed by demian

  • owner changed from somebody to demian.
  • status changed from new to assigned.

03/23/08 08:57:19 changed by demian

  • milestone changed from 0.7.0 to 0.9.0 - polishing.

Milestone 0.7.0 deleted

02/08/10 15:15:40 changed by demian

  • type changed from defect to enhancement.

02/26/13 13:11:34 changed by demian

  • priority changed from normal to high.