|
|
|
fusebox5.Application.cfc example
FUSEBOX_PARAMETERS.allowImplicitFusebox = true; FUSEBOX_PARAMETERS.defaultFuseaction = "app.index"; // you may want to change this to development-full-load , development-circuit-load mode FUSEBOX_PARAMETERS.mode = "development-full-load"; FUSEBOX_PARAMETERS.conditionalParse = true; FUSEBOX_PARAMETERS.password = "jeetualex"; FUSEBOX_PARAMETERS.strictMode = true; FUSEBOX_PARAMETERS.debug = true; FUSEBOX_PARAMETERS.errortemplatesPath = "/fusebox5/errortemplates/"; // These are all default values that can be overridden: // FUSEBOX_PARAMETERS.fuseactionVariable = "fuseaction"; // FUSEBOX_PARAMETERS.precedenceFormOrUrl = "form"; // FUSEBOX_PARAMETERS.scriptFileDelimiter = "cfm"; // FUSEBOX_PARAMETERS.maskedFileDelimiters = "htm,cfm,cfml,php,php4,asp,aspx"; // FUSEBOX_PARAMETERS.characterEncoding = "utf-8"; // FUSEBOX_PARAMETERS.strictMode = false; // FUSEBOX_PARAMETERS.allowImplicitCircuits = false; FUSEBOX_CALLER_PATH = getDirectoryFromPath(getCurrentTemplatePath()); Variables.Config = GetDirectoryFromPath(GetCurrentTemplatePath()) & "j-admin.ini"; Application.Author = '#GetProfileString(variables.config, "default", "Author")#'; Application.WebsiteTitle = '#GetProfileString(variables.config, "default", "WebsiteTitle")#'; Application.BaseUrl = '#GetProfileString(variables.config, "default", "BaseUrl")#'; Application.BasePath = '#GetProfileString(variables.config, "default", "BasePath")#'; Application.UploadsPath = Application.BasePath&"/uploads"; Application.IncludesPath = Application.BasePath&"/includes"; Application.ComponentsPath = Application.BasePath&"/com"; Application.CSSPath = Application.IncludesPath&"/css"; Application.JSPath = Application.IncludesPath&"/js"; Application.ImagesPath = Application.IncludesPath&"/images"; Application.jq = CreateObject("component",Application.ComponentsPath&"/common/jquery"); Application.passwds = CreateObject("component",Application.ComponentsPath&"/passwds/passwds"); Application.DSN = "#GetProfileString(variables.config, "default", "DSN")#"; Application.DBType = "MSSQL"; Application.obj = CreateObject("component",Application.ComponentsPath&"/datamgr/DataMgr_Comp"); Application.obj.init(Application.DSN,Application.DBType); Application.availableResources=0; Application.counter1=1; Application.sessions=0; Session.started = now(); executionTime: #executionTime# ms
|
|
|
0 comments :
Post a Comment