/** * Gets global config item * @param string $name Config item name * @returns SpawConfigItem * @static */ function getStaticConfigItem($name) { $cfg =& SpawConfig::configVar(); if (isset($cfg[$name])) { return $cfg[$name]; } else { return NULL; } }