S2OJ/uoj/1/app/controllers
Masco Skray c1294121d3 fix(uoj/1/app/libs): fix no preview of text files in problem_data_manage
When managing data, there will be a preview of test data or validator binary file.
But in PHP7 the prefiew of test data text file or problem.conf text file is not shown.
After my test it is caused by file_get_contents() when passing offset with -1.
It is strange that the manual on php.net in Chinese the default of $offset is -1,
but in English the default of $offset is 0. Use -1 will get nothing, 0 instead is fine.
The commit also change uojFilePreview() that can also be used as viewing binary file.
For backwards compatibility, we just set text as the default file type and no need to specify.
2018-10-11 23:40:05 +08:00
..
judge update: fetch commits from upstream 2018-09-20 19:34:38 +08:00
subdomain/blog Initial commit for PHP7 2018-09-20 17:38:09 +08:00
add_contest.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
announcements.php Initial commit 2018-09-20 17:21:40 +08:00
blog_show.php Initial commit 2018-09-20 17:21:40 +08:00
blogs.php Initial commit for PHP7 2018-09-20 17:38:09 +08:00
change_user_info.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
click_zan.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
contest_inside.php update: fetch commits from upstream 2018-09-20 19:34:38 +08:00
contest_manage.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
contest_members.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
contest_registration.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
contests.php Initial commit 2018-09-20 17:21:40 +08:00
download.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
faq.php Initial commit for PHP7 2018-09-20 17:38:09 +08:00
forgot_pw.php Initial commit for PHP7 2018-09-20 17:38:09 +08:00
hack_list.php Initial commit 2018-09-20 17:21:40 +08:00
hack.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
index.php Initial commit for PHP7 2018-09-20 17:38:09 +08:00
login.php fix(uoj/1/app/controllers): fix login failure loop when logout from user profile modify page 2018-09-23 23:14:39 +08:00
logout.php Initial commit 2018-09-20 17:21:40 +08:00
problem_data_manage.php fix(uoj/1/app/libs): fix no preview of text files in problem_data_manage 2018-10-11 23:40:05 +08:00
problem_managers_manage.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
problem_set.php update: fetch commits from upstream 2018-09-20 19:34:38 +08:00
problem_statement_manage.php Initial commit 2018-09-20 17:21:40 +08:00
problem_statistics.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
problem.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
ranklist.php Initial commit 2018-09-20 17:21:40 +08:00
register.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
reset_pw.php Initial commit 2018-09-20 17:21:40 +08:00
submission_status_details.php Initial commit 2018-09-20 17:21:40 +08:00
submission.php Initial commit 2018-09-20 17:21:40 +08:00
submissions_list.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
super_manage.php fix(uoj/1/app/controllers): fix Judgement Failed submissions table not shown for superuser 2018-10-11 23:35:32 +08:00
user_info.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
user_msg.php feat(uoj/1/app): modify the DB operation to support PHP7 2018-09-20 17:38:21 +08:00
user_system_msg.php Initial commit 2018-09-20 17:21:40 +08:00