Menu
This is probably a pretty basic question. but I have a config file and database class that I would like to load on the first page that the user goes to.
ie: they open browser and go to somesite.com/subdirectory/somepage.php
or they could go to somesite.com/second_subdirectory/anotherpage.php
or they could go to somesite.com for that matter.
is there anyway to require these two files without putting require_once on every page of my website?
Thanks