Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files should use defined('MOODLE_INTERNAL') || die(); #18

Open
purnendudash opened this issue Apr 5, 2024 · 1 comment
Open

Files should use defined('MOODLE_INTERNAL') || die(); #18

purnendudash opened this issue Apr 5, 2024 · 1 comment

Comments

@purnendudash
Copy link

If a php file should not be loaded on it's own (class files etc) then you should be adding a check to:
defined('MOODLE_INTERNAL') || die();

at the top of the file.

@evsoldatkin
Copy link
Contributor

Fixed over the code. Can not be used in entry.php because it is not internal file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants