class.cms_config.php
This file contains the class that manages the CMSMS config.php file
Tags
Table of Contents
Classes
- cms_config
- A singleton class for interacting with the CMSMS config.php file.
Constants
- CMS_DEBUG = self::$_instance['debug']
- A constant indicating if CMSMS is in debug mode.
- CMS_ROOT_PATH = self::$_instance['root_path']
- A constant containing the directory where CMSMS is installed.
- CMS_ROOT_URL = self::$_instance['root_url']
- A constant containing the CMSMS root url.
- PUBLIC_CACHE_LOCATION = self::$_instance['public_cache_location']
- A constant to indicate where public (browsable) cachable files can be written.
- PUBLIC_CACHE_URL = self::$_instance['public_cache_url']
- A constant to indicate the public address for cachable files.
- TMP_CACHE_LOCATION = self::$_instance['tmp_cache_location']
- A constant to indicate the location where private cacheable files can be written.
- TMP_TEMPLATES_C_LOCATION = self::$_instance['tmp_templates_c_location']
- A constant containing the smarty template compile directory.
Constants
CMS_DEBUG
A constant indicating if CMSMS is in debug mode.
public
mixed
CMS_DEBUG
= self::$_instance['debug']
CMS_ROOT_PATH
A constant containing the directory where CMSMS is installed.
public
mixed
CMS_ROOT_PATH
= self::$_instance['root_path']
CMS_ROOT_URL
A constant containing the CMSMS root url.
public
mixed
CMS_ROOT_URL
= self::$_instance['root_url']
If the root_url variable is not specified in the config file, then CMSMS will attempt to calculate one.
PUBLIC_CACHE_LOCATION
A constant to indicate where public (browsable) cachable files can be written.
public
mixed
PUBLIC_CACHE_LOCATION
= self::$_instance['public_cache_location']
PUBLIC_CACHE_URL
A constant to indicate the public address for cachable files.
public
mixed
PUBLIC_CACHE_URL
= self::$_instance['public_cache_url']
TMP_CACHE_LOCATION
A constant to indicate the location where private cacheable files can be written.
public
mixed
TMP_CACHE_LOCATION
= self::$_instance['tmp_cache_location']
TMP_TEMPLATES_C_LOCATION
A constant containing the smarty template compile directory.
public
mixed
TMP_TEMPLATES_C_LOCATION
= self::$_instance['tmp_templates_c_location']