View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0008406 | mantisbt | sub-projects | public | 2007-09-27 07:25 | 2007-09-28 17:23 |
| Reporter | emathieu | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | new | Resolution | open | ||
| Product Version | 1.1.0a4 | ||||
| Summary | 0008406: Configuration options should be inherited from parent project | ||||
| Description | I could be interesting to modify the config_get rules as following:
| ||||
| Tags | No tags attached. | ||||
|
I tried to do it myself and found it simple to patch: with |
|
|
You will need to consider the possibility of having a loop in the hierarchy. Eg, if you find that a project is already in your array (same as checking for ALL_PROJECTS), then 'break' the while loop. |
|
|
Tanks for your comment. |
|
|
I forgot to mention to add $t_core_dir = dirname( FILE ).DIRECTORY_SEPARATOR; at the beginning of core/config_api.php |
|