diff --git a/web/app/controllers/problem.php b/web/app/controllers/problem.php index 788e1e1..be8c8f5 100644 --- a/web/app/controllers/problem.php +++ b/web/app/controllers/problem.php @@ -222,7 +222,12 @@ EOD diff --git a/web/app/controllers/subdomain/blog/archive.php b/web/app/controllers/subdomain/blog/archive.php index 8c081a2..36d3cc2 100644 --- a/web/app/controllers/subdomain/blog/archive.php +++ b/web/app/controllers/subdomain/blog/archive.php @@ -36,7 +36,7 @@ $all_tags = DB::selectAll("select distinct tag from blogs_tags where blog_id in (select id from blogs where $blogs_cond)"); requireLib('mathjax'); - requireLib('shjs'); + requireLib('hljs'); ?> diff --git a/web/app/controllers/subdomain/blog/index.php b/web/app/controllers/subdomain/blog/index.php index 2b1263a..86d69dd 100644 --- a/web/app/controllers/subdomain/blog/index.php +++ b/web/app/controllers/subdomain/blog/index.php @@ -23,7 +23,7 @@ $REQUIRE_LIB['mathjax'] = ''; if (isset($REQUIRE_LIB['bootstrap5'])) { - $REQUIRE_LIB['hljs'] = ''; + requireLib('hljs'); } else { $REQUIRE_LIB['shjs'] = ''; }