"@VERSION@", "webserviceApiVersion" => "@WEBSERVICE_API_VERSION@", "mode" => "@WEBSERVICE_MODE@", ]; function getConfig($key){ global $config; if(!arraY_key_exists($key, $config)){ error_log("Expected config value ". $key ." does not exists"); return FALSE; } return $config[$key]; } if(getConfig("mode") == "development"){ error_reporting(E_ALL); } set_include_path(get_include_path() . PATH_SEPARATOR . "../vendor/"); require 'vendor/autoload.php'; ?>