I'm developing a new module, and trying to take advantage of the Object Oriented features in PHP 5, but I have a question about one of the moodle developer guidelines.
One guideline states that all files should include the config.php file.
Is this all files, even files which will be required/included by other files that already require/include the config.php file?
Or just viewable files which are not required/included by other files, like course/mod.php?
General developer forum
Where to Require config.php
This discussion has been locked so you can no longer reply to it.