Commit 5b705d51 authored by Cédric Anne's avatar Cédric Anne Committed by Johan Cwiklinski
Browse files

Fix loading of prismjs CSS file

parent 5f98e4fc
......@@ -35,7 +35,7 @@ include ('../inc/includes.php');
header("Content-Type: text/html; charset=UTF-8");
Html::header_nocache();
echo Html::css("public/lib/prism.css");
echo Html::css("public/lib/prismjs.css");
echo Html::script("public/lib/prismjs.js");
$infos = Telemetry::getTelemetryInfos();
......
......@@ -2292,7 +2292,7 @@ abstract class API extends CommonGLPI {
*/
public function inlineDocumentation($file) {
self::header(true, __("API Documentation"));
echo Html::css("public/lib/prism.css");
echo Html::css("public/lib/prismjs.css");
echo Html::script("public/lib/prismjs.js");
echo "<div class='documentation'>";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment