Dashboard > FarCry 3.0 Developers Guide > Home > Environment Variables > Application Scope
FarCry 3.0 Developers Guide
Application Scope
Added by Geoff Bowers , last edited by Geoff Bowers on Apr 15, 2006  (view change)
Labels: 
400

Top Level (application)

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

File Paths (application.path)

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
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

Powered by a free Atlassian Confluence Open Source Project License granted to FarCry CMS. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators