Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6bf9bd4862
Fetching contributors…

Cannot retrieve contributors at this time

48 lines (29 sloc) 0.913 kb
<cfscript>
component
output = "false"
hint = "I define the application settings and event handlers."
{
// Define the application settings.
this.name = hash( getCurrentTemplatePath() );
this.applicationTimeout = createTimeSpan( 0, 0, 10, 0 );
this.sessionManagement = false;
// I initialize the application.
function onApplicationStart(){
// Get the root directory of the demo.
var rootDirectory = getDirectoryFromPath( getCurrentTemplatePath() );
// Set up the uploads directory.
application.uploadsDirectory = (rootDirectory & "uploads/");
// Return true so the application can load.
return( true );
}
// I initialize the request.
function onRequestStart(){
// Check to see if we need to manually reset the application.
if (structKeyExists( url, "init" )){
this.onApplicationStart();
}
// Return true so the page can load.
return( true );
}
}
</cfscript>
Jump to Line
Something went wrong with that request. Please try again.