diff --git a/info.php b/info.php index a731d3f3..850c5858 100644 --- a/info.php +++ b/info.php @@ -27,6 +27,8 @@ require_once($CFG->dirroot . '/lib/editor/tinymce/lib.php'); require_once($CFG->dirroot . '/filter/wiris/classes/pluginwrapper.php'); +require_login(); + // BEGIN HELPERS FUNCTIONS. function wrs_assert($condition, $reporttext, $solutionlink) { if ($condition) { diff --git a/tests/filter_performance_png_test.php b/tests/filter_performance_png_test.php index e347b1a2..69f781ab 100644 --- a/tests/filter_performance_png_test.php +++ b/tests/filter_performance_png_test.php @@ -22,6 +22,7 @@ * @copyright 2016 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ +namespace filter_wiris; defined('MOODLE_INTERNAL') || die(); diff --git a/tests/filter_performance_svg_test.php b/tests/filter_performance_svg_test.php index 2522a16c..126d068f 100644 --- a/tests/filter_performance_svg_test.php +++ b/tests/filter_performance_svg_test.php @@ -22,6 +22,7 @@ * @copyright 2016 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ +namespace filter_wiris; defined('MOODLE_INTERNAL') || die(); diff --git a/tests/filter_without_performance_png_test.php b/tests/filter_without_performance_png_test.php index 52526338..3421e796 100644 --- a/tests/filter_without_performance_png_test.php +++ b/tests/filter_without_performance_png_test.php @@ -22,6 +22,7 @@ * @copyright 2016 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ +namespace filter_wiris; defined('MOODLE_INTERNAL') || die(); diff --git a/tests/filter_without_performance_svg_test.php b/tests/filter_without_performance_svg_test.php index ab31a2ac..90b7858e 100644 --- a/tests/filter_without_performance_svg_test.php +++ b/tests/filter_without_performance_svg_test.php @@ -22,6 +22,7 @@ * @copyright 2016 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ +namespace filter_wiris; defined('MOODLE_INTERNAL') || die();