function ParseAppli($status, $key) { if (!is_array($GLOBALS["GLOBAL_VERSIONS_CONF"])) { BuildVersions(); } return $GLOBALS["GLOBAL_VERSIONS_CONF"][$key]; }
function ParseAppli($key) { if (!isset($GLOBALS["GLOBAL_VERSIONS_CONF"])) { BuildVersions(); } if (!is_array($GLOBALS["GLOBAL_VERSIONS_CONF"])) { BuildVersions(); } if (!isset($GLOBALS["GLOBAL_VERSIONS_CONF"][$key])) { return null; } return $GLOBALS["GLOBAL_VERSIONS_CONF"][$key]; }