diff --git a/lib/editor/tiny/lang.php b/lib/editor/tiny/lang.php index 4bd368ce56f..058c41fff1d 100644 --- a/lib/editor/tiny/lang.php +++ b/lib/editor/tiny/lang.php @@ -50,6 +50,9 @@ class lang { /** @var bool Whether Moodle is fully loaded or not */ protected $fullyloaded = false; + /** @var string The complete path to the candidate file */ + protected $candidatefile; + /** * Constructor to load and serve the langfile. */ diff --git a/lib/editor/tiny/loader.php b/lib/editor/tiny/loader.php index 5f26c305142..1539a6ccfb7 100644 --- a/lib/editor/tiny/loader.php +++ b/lib/editor/tiny/loader.php @@ -49,6 +49,12 @@ class loader { /** @var string The mimetype to send */ protected $mimetype = null; + /** @var string The component to use */ + protected $component; + + /** @var string The complete path to the candidate file */ + protected $candidatefile; + /** * Initialise the class, parse the request and serve the content. */