diff --git a/web/app/controllers/problem_solutions.php b/web/app/controllers/problem_solutions.php index 7906e35..b7195ea 100644 --- a/web/app/controllers/problem_solutions.php +++ b/web/app/controllers/problem_solutions.php @@ -2,6 +2,7 @@ requireLib('bootstrap5'); requireLib('hljs'); requireLib('mathjax'); +requireLib('pdf.js'); requirePHPLib('form'); requirePHPLib('judger'); diff --git a/web/app/controllers/subdomain/blog/blog.php b/web/app/controllers/subdomain/blog/blog.php index 9399add..4212b4f 100644 --- a/web/app/controllers/subdomain/blog/blog.php +++ b/web/app/controllers/subdomain/blog/blog.php @@ -2,6 +2,7 @@ requireLib('bootstrap5'); requireLib('mathjax'); requireLib('hljs'); +requireLib('pdf.js'); requirePHPLib('form'); Auth::check() || redirectToLogin();