src/OwpConfig.inc.php
static public function GetConfigItem($subjectName,$itemName)
    {
        $includePath = ROOT_PATH."config".DIRECTORY_SEPARATOR.$subjectName.".php";

        if(!file_exists($includePath)) {
            throw new InvalidArgumentException($subjectName." include not found.", 20);
        }

        include $includePath;

        if(!empty($$subjectName) && array_key_exists($itemName, $$subjectName)) {
            $response = $$subjectName;
            return $response[$itemName];
        } else {
            throw new InvalidArgumentException($subjectName."->".$itemName." does not exist.", 20);
        }

    }
static public function GetConfigItem($subjectName,$itemName)
    {
        $includePath = ROOT_PATH."config".DIRECTORY_SEPARATOR.$subjectName.".php";

        if(!file_exists($includePath)) {
            throw new InvalidArgumentException($subjectName." include not found.", 20);
        }

        include $includePath;

        if(!empty($$subjectName) && array_key_exists($itemName, $$subjectName)) {
            $response = $$subjectName;
            return $response[$itemName];
        } else {
            throw new InvalidArgumentException($subjectName."->".$itemName." does not exist.", 20);
        }

    }
GetConfigItem

@method mixed GetConfigItem($subjectName,$itemName) Get configuration setting
@access public

@param string $subjectName Subject Data Array Name
@param string $itemName    Subject Data Array Key Name

@return mixed Array value

@throws InvalidArgumentException Config data does not exist, code 20

@author  Brian Tafoya <btafoya@briantafoya.com>
@version 1.0