SproutCMS

This is the code documentation for the SproutCMS project

function getConfig()

Get a config value for a given subsite

Use this instead of Kohana::config, if you need to target a specific subsite.
It always looks in the "sprout" config file, doesn't support other files.

Usage

mixed Subsites::getConfig ( string $key , int $subsite_id );

Arguments

  1. string $key
    Configuration key
  2. int $subsite_id
    Subsite to get config value for

Return value

  • mixed
    Configuration value