Modify ↓
Ticket #13904 (new enhancement)
build a way to dynamically switch settings.ini.cfm versions
| Reported by: | patrickb@… | Owned by: | |
|---|---|---|---|
| Priority: | major | Component: | General |
| Version: | 5.2 | Keywords: | |
| Cc: | Time planned: | 1d | |
| Time remaining: | 1d | Time spent: | 1d |
Description
our typical coldfusion apps have something similar to this in the application.cfc
<cfif cgi.SERVER_NAME contains "staging." >
<cfinclude template="staging.settings.ini.cfm">
<cfelseif cgi.SERVER_NAME contains "devwww." >
<cfinclude template="dev.settings.ini.cfm">
<cfelse>
<cfinclude template="settings.ini.cfm">
</cfif>
This allows us to simply checkout and upload/download code and it will automatically load the correct settings for that environment.
The current problem we have with mura is that we have to exclude our settings.ini.cfm file from SVN and FTP syncs and manually re-name the file to deploy.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
