public.php - check if maintenance mode is enabled