Where should I put the configuration files

Hi everyone.
Where can I put my configuration files (e.g. DB connection parameters) so that they cannot be downloaded and read?
Thank you.
David.

In a PHP file.

5 Likes

Yes of course, but I wanted to put it in the configuration file so as not to have to change the parameters all the time with each deployment.

Ah, ok, I understand. You say to use a php file just as a configuration file and then import it into the php file files… Ok!
Thank you.

Yes, you can also follow this guide:

6 Likes

Thank you very much.
Greeting.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.