Fix #233 Add no_outage check to allow checkfinished.php to be execpt from the 503 maintenance logic

This commit is contained in:
John Yao
2021-02-11 16:41:29 +11:00
parent 8f7d38f355
commit c53a629bc8
2 changed files with 3 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ use auth_outage\dml\outagedb;
define('NO_MOODLE_COOKIES', true);
header('Cache-Control: public, max-age=10,s-maxage=10');
define('NO_AUTH_OUTAGE', true);
require_once(__DIR__.'/../../config.php');