$config


Runtime Configuration

  • $config->ajax

    If the current request is an ajax (asynchronous javascript) request, this is set to true.

  • $config->httpHost

    Current HTTP host name.

  • $config->https

    If the current request is an HTTPS request, this is set to true.

  • $config->version

    Current ProcessWire version string (i.e. "2.1.0")

  • $config->styles

    Array used by ProcessWire admin to keep track of what stylesheet files it's template should load. It will be blank otherwise. Feel free to use it for the same purpose in your own sites.

  • $config->scripts

    Array used by ProcessWire admin to keep track of what javascript files it's template should load. It will be blank otherwise. Feel free to use it for the same purpose in your own sites.