I have a file called config.php
in which I include different files with functions in them, using require_once
.
When I try to auto prepend config.php
using .htaccess
stored in the project root, I get a redeclare error in every file that has functions in it.
Is there a way of fixing this or including config.php
without getting this error?