mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-14 04:58:42 +00:00
7 lines
214 B
PHP
7 lines
214 B
PHP
<?php
|
|
|
|
Auth::check() || redirectToLogin();
|
|
UOJBlog::init(UOJRequest::get('id')) || UOJResponse::page404();
|
|
|
|
redirectTo(HTML::blog_url(UOJBlog::info('poster'), '/post/' . UOJBlog::info('id'), ['escape' => false]));
|