You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sabberworm edited this page Sep 5, 2011
·
3 revisions
Dirname Constants
These constants should be used with [[ResourceFinder]] instead of folder names to prevent misspellings.
DIRNAME_DATA
DIRNAME_CLASSES
DIRNAME_ADMIN
DIRNAME_VENDOR
DIRNAME_MODEL
DIRNAME_TEST
DIRNAME_LIB
DIRNAME_CONFIG
DIRNAME_PRELOAD
DIRNAME_IMAGES
DIRNAME_CACHES
DIRNAME_FULL_PAGE
DIRNAME_LANG
DIRNAME_WEB
DIRNAME_TEMPLATES
DIRNAME_NAVIGATION
DIRNAME_SITE
DIRNAME_BASE
DIRNAME_PLUGINS
DIRNAME_GENERATED
Full-Path constants
These constants contain the full absolute pathnames to directories inside the cms
MAIN_DIR (Rapila’s install location)
SITE_DIR (The site folder)
BASE_DIR (The folder which contains the currently active version of cms-base)
PLUGINS_DIR (The plugins folder, may not exists if no plugins are used)
[[CONTEXT_DIR]]
Frontend-Constants
MAIN_DIR_FE (The location the site can be reached, relative to the server root. E.g.: For normal installations where rapila sits at the root of a domain, this constant equals '/'; if the cms is reachable using cms.example.com/rapila, this constant is '/rapila/'.)
Deprecated
These constants should not be used unless you’re sure you want to deny yourself the override-capabilities that [[ResourceFinder]] provides.