I write a website with php and javascript.
I need a way for my website to take a settings information from a single file located on the server and no in the database.
I mean for example: “setting.php”. That include all the settings of the web.
The question is:
- How to require the website use only the settings in the “settings.php” file?
- how to make this file possible to be edited from admin console securly?
You can just give me the idea behind that.
Thanks a lot!