Preappend File Directive¶
The auto_prepend_file PHP directive adds an require call before the main file. The file is then automatically executed, and all its definitions are added. They are then available later in the execution.
Only one file is prepended: if several files needs to be, they should be included in a centralized file.
See also How to Use auto_prepend_file in PHP Effectively and Mastering PHP’s auto_prepend_file: A Comprehensive Guide.
Related : Disable Functions, Disable Classes