Modify

Ticket #13904 (new enhancement)

Opened 20 months ago

Last modified 15 months ago

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

comment:1 Changed 15 months ago by mattlevine

  • Owner blueriver deleted
  • Component changed from v5 to General
View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.