Jump to main content Jump to doc navigation

modX::getConfig

Get the configuration for the site.

Syntax

API Doc: modX::getConfig()

array getConfig ()

Example

Get the site config into an array.

$config = $modx->getConfig();

See Also