| Summary: | app.class.php doesnt allow for a global app-config.php file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Community | Reporter: | Nathan Gervais <nathan> | ||||
| Component: | Website | Assignee: | phoenix.ui <phoenix.ui-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | karl.matthias | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
+1 app.class.php v1.61 in phoenix cvs has this change included. Added a section to Phoenix Documentation under the database section on how to use app-config.php http://wiki.eclipse.org/Using_Phoenix#Setting_up_the_local_databases Closing this bug out. |
Created attachment 117130 [details] Patch to allow a global app-config.php Currently in order to use the app-config.php file to set local settings for $App the app-config.php file needs to be in your current working directory. This is tedious to maintain if you are working on multiple paths of the homepage as i frequently am. I'd need to maintain a seperate app-config.php file for each subdirectory of files i would be working on. I've committed a new version of app.class.php to Phoenix.eclipse.org CVS that would allow for a global app-config.php file to be placed beside app.class.php. This file would be used when there is no app-config.php file in your current working directory. I've attached a patch of this change to the bug so that you can easily see the changes i've made to the code. I'm looking for someone to review the code and provide their +1 to make it live.