diff --git a/html/inc/util.inc b/html/inc/util.inc
index 07c14960d1..5b4e1f68d1 100644
--- a/html/inc/util.inc
+++ b/html/inc/util.inc
@@ -37,6 +37,7 @@ require_once("../inc/bootstrap.inc");
// parse some stuff from config (do it here for efficiency)
//
$config = get_config();
+global $master_url;
$master_url = parse_config($config , "");
$recaptcha_public_key = parse_config($config, "");
$recaptcha_private_key = parse_config($config, "");
diff --git a/html/user/get_project_config.php b/html/user/get_project_config.php
index 19e6808df0..91e2e27071 100644
--- a/html/user/get_project_config.php
+++ b/html/user/get_project_config.php
@@ -48,6 +48,7 @@ function show_platforms() {
}
$config = get_config();
+global $master_url;
$long_name = parse_config($config, "");
$min_passwd_length = parse_config($config, "");