-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d1acca
commit fbc7c85
Showing
17 changed files
with
170 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,9 @@ | ||
passwordSalt=OkIeKNKoIvbZMFPuMJ3EMQ== | ||
|
||
s3Enabled=false | ||
s3accessKeyId= | ||
s3awsSecretKey= | ||
s3defaultLocation=us | ||
s3host=s3.amazonaws.com | ||
s3defaultBucket= | ||
|
||
wheelsDatasourceName=wheelie | ||
wheelsReloadPassword=wheelie | ||
wheelsUrlRewriting=On | ||
wheelsRewriteFile=index.cfm | ||
wheelsSendEmailOnError=true | ||
wheelsAdminUrlPath=/manager | ||
|
||
noReplyEmail=noreply@wheelie.com | ||
defaultEmail=admin@wheelie.com | ||
|
||
youtubeDevKey= | ||
stripeKey= | ||
sendgridusername= | ||
sendgridpassword= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,27 @@ | ||
<cfscript> | ||
include template="/views/setup/check.cfm"; | ||
// Initialize Shortcode plugins | ||
include template="/models/services/global/settings.cfm"; | ||
setSiteInfo(); | ||
// Set User Permissions | ||
if ( isNull(application.rbs.permissionsQuery) || isReload ) { | ||
var q = new query( datasource="wheelie" ); | ||
q.addParam( name="lastModifiedTime", cfsqltype="cf_sql_timestamp", value=now()); | ||
application.rbs.permissionsQuery = q.execute( sql="SELECT * FROM permissions" ).getResult(); | ||
// Get role columns from permissions table - removed non role columns - convert array to remove list nulls - convert back to list | ||
application.rbs.roleslist = ArrayToList(ListToArray(ReplaceList(lcase(application.rbs.permissionsQuery.columnList),lcase("CREATEDBY,UPDATEDBY,UPDATEDAT,CREATEDAT,DELETEDAT,DELETEDBY"),""))); | ||
application.rbs.roleslist = replaceNoCase(application.rbs.roleslist, "ID,", ""); | ||
for (var thisRole in listToArray(application.rbs.roleslist) ) { | ||
for (var row in application.rbs.permissionsQuery ) { | ||
application.rbs.permission[row.id][thisRole] = application.rbs.permissionsQuery[thisRole]; | ||
} | ||
} | ||
} | ||
application.shortcodes={}; | ||
include template="/views/plugins/plugins-init.cfm"; | ||
</cfscript> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
<cfheader statuscode="500" statustext="Internal Server Error"> | ||
<cfheader name="cache-control" value="no-cache, no-store, must-revalidate"> | ||
<cfheader statuscode="301" statustext="Moved permanently"> | ||
<cfheader name="Location" value="/o/500"> | ||
<cfabort> | ||
<cfif cgi.path_info == '/o/500'> | ||
<!--- Prevent redirect loop ---> | ||
500 Error | ||
<cfdump var="#exception#" abort> | ||
<cfelse> | ||
<cfheader statuscode="500" statustext="Internal Server Error"> | ||
<cfheader name="cache-control" value="no-cache, no-store, must-revalidate"> | ||
<cfheader statuscode="301" statustext="Moved permanently"> | ||
<cfheader name="Location" value="/o/500"> | ||
<cfabort> | ||
</cfif> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.