From 8f079b654779612dfc9aae041245d9f6c60270ad Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Tue, 2 Jan 2018 23:28:54 +0100 Subject: Fix styles.css --- displayformula.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'displayformula.php') diff --git a/displayformula.php b/displayformula.php index 58723f1..8c4cf8c 100644 --- a/displayformula.php +++ b/displayformula.php @@ -22,14 +22,16 @@ /** * Script which converts the given formula text into LaTeX code and then - * displays the appropriate image file. It relies on the LaTeX filter to - * be present. + * displays the appropriate image file. It relies on the LaTeX filter or + * the mathJax filter to be present. */ require_once('../../../config.php'); require_once("$CFG->dirroot/question/type/algebra/parser.php"); global $PAGE, $CFG; +require_login(); + $p = new qtype_algebra_parser; try { $query = urldecode($_SERVER['QUERY_STRING']); @@ -74,7 +76,7 @@ if (!empty($CFG->additionalhtmlhead) && stripos($CFG->additionalhtmlhead, 'MathJ } ?> - + -- cgit v1.2.3