Is it possible to have a single php file that gets called before the actual requested page is loaded, so like a bootstrap.
What I would like to do is be able to have a php script be called, setup globals, ini_sets, etc and than continue to a page like index.php, about.php, etc.
I’ve looked at this article already, but it almost seems to follow more of a mvc pattern, (minus the model…sorta)
You could use mod rewrite to rewrite example.com/about/ to index.php?p=about.
Index.php would then be your bootstrap file and after setting up globals and such you could run
include 'about.php';