mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-21 21:08:42 +00:00
Online Judge System for Shijiazhuang No.2 Middle School, based on Universal Online Judge.
https://sjzezoj.com
a8cec5a42f
When a blogs was saved, only links of form "/blog/id/write" was returned, ignoring username. Under a subdomain ("user.blog.site/blog/id/write") this is fine, but it does not work if a subdomain is not used ("site/blog/id/write"). `HTML::blog_url` should be called to return the links. Also, DB::insert_id is called before actually inserting the blogs to get the new blog's id. This sometimes return a 0, especially when the user has just deleted a blog. DB::insert_id should be called after the insert instead. |
||
---|---|---|
install | ||
judge_client/1 | ||
uoj/1 | ||
.editorconfig | ||
LICENSE | ||
README.md |