Where to Require config.php

Where to Require config.php

by Tobias O\'Leary -
Number of replies: 0
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?
Average of ratings: -