S2OJ/uoj/1/app
TRCYX a8cec5a42f fix(blog): fix incorrect blog links from writing page (#38)
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.
2019-04-26 00:07:47 +08:00
..
controllers fix(blog): fix incorrect blog links from writing page (#38) 2019-04-26 00:07:47 +08:00
libs feat(uoj/1/app): move data to the root when subfolder exists in the uploaded data zip 2019-04-16 22:48:13 +08:00
locale style(uoj/1/app): modify some page footer views 2019-04-18 11:10:53 +08:00
models fix(uoj/1/app/models): session issue caused by wrong cookie domain 2018-10-11 18:46:58 +08:00
storage Initial commit 2018-09-20 17:21:40 +08:00
upgrade update: fetch commits from upstream 2018-09-20 19:34:38 +08:00
vendor feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
views style(uoj/1/app): modify some page footer views 2019-04-18 11:10:53 +08:00
.default-config.php update: fetch commits from upstream 2018-09-20 19:34:38 +08:00
.htaccess Initial commit 2018-09-20 17:21:40 +08:00
cli.php Initial commit for PHP7 2018-09-20 17:38:09 +08:00
route.php update: fetch commits from upstream 2018-09-20 19:34:38 +08:00