S2OJ/uoj/1/app/controllers/blog_show.php

8 lines
176 B
PHP
Raw Permalink Normal View History

2016-11-17 02:08:31 +00:00
<?php
if (!validateUInt($_GET['id']) || !($blog = queryBlog($_GET['id']))) {
become404Page();
}
redirectTo(HTML::blog_url($blog['poster'], $_SERVER["REQUEST_URI"]));
?>