Ticket #126 (new enhancement)

Opened 2 months ago

Dependency on include_path may prevent execution

Reported by: Benjamin Kaineder/PACE Assigned to: 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


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