S2OJ/web/app/controllers/image_hosting/get_image.php

7 lines
123 B
PHP

<?php
requirePHPLib('form');
if (!Auth::check() && UOJConfig::$data['switch']['force-login']) {
redirectToLogin();
}