mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-29 01:31:53 +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]));
|