((hot)): Config.php

: You can change a site-wide constant (like SITE_NAME ) once instead of searching through dozens of files.

config/ ├── database.php ├── cache.php ├── mail.php └── app.php config.php

For object-oriented projects, treat configuration as a class. : You can change a site-wide constant (like

Different frameworks and platforms use specific naming conventions and structures for their configuration: config.php

<?php /** * Configuration file */

config.php opened its eyes. It did not have complex algorithms or loops. It didn't process user data or render visuals. It was pure knowledge. Instantly, it shared its constants:

Confusion with config.php and config-dist.php (2.1.1) - Moodle.org