Ticket #126 (new enhancement)

Opened 9 months ago

Last modified 2 weeks ago

Dependency on include_path may prevent execution

Reported by: Benjamin Kaineder/PACE Owned by: pmjones
Priority: major Component: code
Keywords: include path include_path Cc:

Description

Problem

If the hosting environment does not permit to change the include path, Solar will not work if installed as recommended in the manual. It will only work if one puts the Solar base directory and Solar.php into the root.

Proposed solution

Remove the dependency on include_path, e.g. by alternatively querying a defined constant instead of include_path. The constant could be defined in the bootstrap file instead of using set_include_path().

Also the calls to include() in various classes would have to be updated to use relative directories instead of just the file name.

Attachments

Change History

Changed 2 weeks ago by anonymous

+1. I agree.

Add/Change #126 (Dependency on include_path may prevent execution)

Author



Action
as new
 
Note: See TracTickets for help on using tickets.