-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_all.cfm
27 lines (22 loc) · 1.3 KB
/
config_all.cfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!--- Include data Source --->
<cfinclude template="config_data_source.cfm">
<!--- Email settings --->
<cfset application.mail.username = "[email protected]">
<cfset application.mail.password = "cork_rebel">
<cfset application.mail.server = "mail.example.com">
<cfset application.mail.from = "[email protected]">
<cfset application.mail.bcc = "">
<!--- Send Error email to --->
<cfset application.tech_support_email_list = "[email protected]">
<!--- Used in email --->
<cfset application.system_name = "Your System name here">
<!--- List the files and folders that are allowed to bypass the security system...
This var is used in Application.cfc - onRequestStart()
--->
<cfset application.security_bypass.files = "_test.cfm, act_checkUser.cfm, act_registerUser.cfm, act_sendPassword.cfm, _ORM_code.cfm, activate.cfm, save_payment.cfm">
<cfset application.security_bypass.folders = "testing, rest">
<!--- Used to prevent caching. Tag this onto the end of resources as a URL parameter (js, images, css to avoid caching)
example <script src="js/example.js?#application.reload_date#">.
Using this approach we still get the benefits of caching but we can force an update by putting '?Appreload' in the URL
--->
<cfset application.reload_date = dateFormat(now(), 'yyyyddmm') & "-" & timeFormat(now(), 'Hnn')>