diff --git a/code/web/public_php/ams/index.php b/code/web/public_php/ams/index.php index 1ab707e79..de2e93235 100644 --- a/code/web/public_php/ams/index.php +++ b/code/web/public_php/ams/index.php @@ -18,7 +18,7 @@ ini_set( 'display_errors', 'on' ); class SystemExit extends Exception {} try { -if (!file_exists( '../config.php')) { +if (!file_exists('../role_support')) { header("Cache-Control: max-age=1"); header('Location: ../setup', true, 303); throw new SystemExit(); diff --git a/code/web/public_php/setup/auth.php b/code/web/public_php/setup/auth.php index 8289289f9..b31646042 100644 --- a/code/web/public_php/setup/auth.php +++ b/code/web/public_php/setup/auth.php @@ -9,24 +9,34 @@ try { $pageTitle = "Authenticate"; include('header.php'); +require_once('config.php'); + ?>