$cfgClient

The global client configuration variable, formerly known as $cfgClient, contains important configuration values for each client in CONTENIDO. 

To get all the configuration values without accessing the variable in global scope you can retrieve it easly from the CONTENIDO registry class.

$cfgClient = cRegistry::getClientConfig();

The array $cfgClient contains the configuration for all clients. In order to get the value of a specific client, you have to put it's client ID as index of the root level of $cfgClient. In the list the ID is marked as "ID".

General information

Variable nameDescriptionAvailable since
$cfgClient[ID]['name']Name of the client4.9.0 Beta 1
$cfgClient[ID]['errsite']['idcat']Category ID of the error page.
(was $errsite_idcat[ID])  
4.9.0 Beta 1
$cfgClient[ID]['errsite']['idart']Article ID of the error page.
(was $errsite_idart[ID]) 
4.9.0 Beta 1

Paths

Variable nameDescriptionExampleAvailable since
$cfgClient[ID]['path']['frontend']Path to the client directory/var/www/example.com/?
$cfgClient[ID]['upload']Path to the upload directoryupload/?
$cfgClient[ID]['upl']['frontendpath']Alias to $cfgClient[ID]['upload']upload/?
$cfgClient[ID]['upl']['path']Full path to the upload directory/var/www/example.com/upload/?
$cfgClient[ID]['cache']['frontendpath']Path to the cache directorycache/4.9.0 Beta 1
$cfgClient[ID]['cache']['path']Full path to the cache directory/var/www/example.com/cache/4.9.0 Beta 1
$cfgClient[ID]['code']['frontendpath']Path to the code directorycache/code/4.9.0 Beta 1
$cfgClient[ID]['code']['path']Full path to the code directory/var/www/example.com/cache/code/4.9.0 Beta 1
$cfgClient[ID]['xml']['frontendpath']Path to the xml directoryxml/4.9.0 Beta 1
$cfgClient[ID]['xml']['path']Full path to the xml directory/var/www/example.com/xml/4.9.0 Beta 1
$cfgClient[ID]['template']['frontendpath']Path to the templates directorytemplates/4.9.0 Beta 1
$cfgClient[ID]['template']['path']Full path to the templates directory/var/www/example.com/templates/4.9.0 Beta 1
$cfgClient[ID]['tpl']['path']Alias to $cfgClient[ID]['template']['path']/var/www/example.com/templates/?
$cfgClient[ID]['module']['frontendpath']Path to the modules directorydata/modules/4.9.0 Beta 1
$cfgClient[ID]['module']['path']Full path to the modules directory/var/www/example.com/data/modules/4.9.0 Beta 1
$cfgClient[ID]['config']['frontendpath']Path to the config directorydata/config/4.9.0 Beta 1
$cfgClient[ID]['config']['path']Full path to the config directory/var/www/example.com/data/config/4.9.0 Beta 1
$cfgClient[ID]['layout']['frontendpath']Path to the layouts directorydata/layouts/4.9.0 Beta 1
$cfgClient[ID]['layout']['path']Full path to the layouts directory/var/www/example.com/data/layouts/4.9.0 Beta 1
$cfgClient[ID]['log']['frontendpath']Path to the logs directorydata/logs/4.9.0 Beta 1
$cfgClient[ID]['log']['path']Full path to the logs directory/var/www/example.com/data/logs/4.9.0 Beta 1
$cfgClient[ID]['version']['frontendpath']Path to the version directorydata/version/4.9.0 Beta 1
$cfgClient[ID]['version']['path']Full path to the version directory/var/www/example.com/data/version4.9.0 Beta 1
$cfgClient[ID]['css']['path']Full path to the css directory/var/www/example.com/css/?
$cfgClient[ID]['js']['path']Full path to the js directory/var/www/example.com/js/?
$cfgClient[ID]['data']['path']Full path to the data directory/var/www/example.com/data/4.9.0 Beta 1

URLs

Variable nameDescriptionExampleAvailable since
$cfgClient[ID]['path']['htmlpath']Full client URLhttp://www.example.com/?
$cfgClient[ID]['htmlpath']['frontend']Alias to $cfgClient[ID]['path']['htmlpath']http://www.example.com/?
$cfgClient[ID]['images']URL to the images directoryhttp://www.example.com/images/?
$cfgClient[ID]['upl']['htmlpath']URL to the upload directoryhttp://www.example.com/upload/?