. defined('MOODLE_INTERNAL') || die(); // This file is deprecated, but it should never have been manually included by anything outside of lib/outputlib.php. // Throwing an exception here should be fine because removing the manual inclusion should have no impact. throw new \core\exception\coding_exception( 'This file should not be manually included by any component.', );