File/exampleApp/config/appConfig.php

Description

Application settings

Defines all application settings

Includes
 require_once (sylar_loader.php) (line 141)
Constants
APP_DEFAULT_CHARSET = 'UTF-8' (line 31)

Application default Character set

APP_DEFAULT_LOCALE = 'en_EN' (line 25)

Application default locale set

APP_HTML_TITLE = "Giano Application" (line 21)

Application Html pages default title

APP_JAVASCRIPT_URL_ROOT = SYLAR_APPLICATION_ROOT_URL.'exampleApp/javascript/' (line 111)

Application Javascript Repository

The URL root of repository

APP_LAYOUT_CSS_URL_ROOT = SYLAR_APPLICATION_ROOT_URL.'exampleApp/layouts/'.APP_LAYOUT_TEMPLATE.'/css/' (line 125)

Application Css Repository

The URL root of repository

APP_LAYOUT_TEMPLATE = 'default' (line 118)

Layout Template Name

the name is the same of directory in layouts folder

APP_LOCALE_ROOT_FS = SYLAR_APPLICATION_ROOT_FS.'exampleApp/locale/' (line 132)

Application Locale root on Filesystem

IT MUST BE DEFINED

SYLAR_APPLICATION_CLASSES_ROOT_FS = SYLAR_APPLICATION_ROOT_FS."exampleApp/classes/" (line 86)

Application Classes root dir

The root directory of Application classes repository

SYLAR_APPLICATION_NAME = "sylarExampleApp/" (line 49)

Application name The root directory of application.

for example: http://localhost/sylarApp/ the Application Name is "sylarApp" but if you ar working on domain you can leave blank the costant: define('APPLICATION_NAME', ""); Remember the "/" at the end of the name!

SYLAR_APPLICATION_ROOT_FS = ''.$_SERVER["DOCUMENT_ROOT"].'/'.SYLAR_APPLICATION_NAME (line 68)

Application FileSystem Root

The root directory of Application on the FileSystem of the server

SYLAR_APPLICATION_ROOT_URL = 'http://'.$_SERVER["SERVER_NAME"].':'.$_SERVER["SERVER_PORT"].'/'.SYLAR_APPLICATION_NAME (line 62)

Application Web Root

The http root directory of Application

SYLAR_FOLDER_NAME = "sylar/" (line 56)

Sylar folder name

Directory name of sylar framework Remember the "/" at the end of the name!

SYLAR_ROOT_FS = SYLAR_APPLICATION_ROOT_FS.SYLAR_FOLDER_NAME (line 80)

Sylar FileSystem Root

The root directory of Sylar Framework on the FileSystem of the server

SYLAR_ROOT_URL = SYLAR_APPLICATION_ROOT_URL.SYLAR_FOLDER_NAME (line 74)

Sylar Web Root

The http root directory of Sylar Framework

SYLAR_USED_DB = 'develop' (line 97)

Database Connection Config Define all DB used in the application with Sylar and relative parameters.

Which one db is used by default from the list above

Documentation generated on Thu, 24 Apr 2008 16:14:13 +0200 by phpDocumentor 1.3.0RC3