Application scope variables

Application scope variables

Top Level (application)

Varaible

Description

Example

Config Location

Varaible

Description

Example

Config Location

application.applicationname

Application name. Should be the same as project root directory name.

 

./www/Application.cfm

application.dsn

Application datasource

mydatasource

./config/_serverspecificvars.cfm

application.dbtype

Must correspond to a supported database type.

mssql or mysql or ora or poastgresql

./config/_serverspecificvars.cfm

application.dbowner

Database owner prefix. Don't forget the "."

dbo. for MS SQL, often blank for mySQL, etc

./config/_serverspecificvars.cfm

application.types

DEPRECIATED A struct containing information on all available types


 

application.rules

DEPRECIATED A struct containing information on all available rules

 

 

application.stCOAPI

Replaces application.types and application.rules. Contains an element for every type or rule.

application.stCOAPI['dmHTML'].packagepath

 

application.rb

The resource bundle component. Manages application bundles.


 

application.adminBundle

A struct of resource bundles. Has an element for each available locale, containing a struct of key-value pairs

application.adminBundle['enAU'].contenttab

 

File Paths (application.path)

Varaible

Description

Example

Config Location

Varaible

Description

Example

Config Location

application.path.project

Absolute path to project code base

replaceNoCase(replace(getCurrentTemplatePath(),"\","/","all"),"/config/_serverSpecificVars.cfm","")

./config/_serverspecificvars.cfm

application.path.core

Absolute path to farcry_core code base

c:\farcry\p300\farcry_core

./config/_serverspecificvars.cfm

Web URLs (application.url)

Varaible

Description

Example

Config Location

Varaible

Description

Example

Config Location

application.url.webroot

relative path from the website web root to your applications web root

/normally blank/

./config/_serverspecificvars.cfm

application.url.farcry

Relative path from the website webroot to your installation of farcry webtop

/farcry

./config/_serverspecificvars.cfm