|
|
|
|
|
by insky
4401 days ago
|
|
A late trick I discovered, was that you can configure your php instance to inclued a file with every script. For example the following can be added to .htaccess: php_value auto_prepend_file 'before.php'
You can then use that for bootstrapping, front controller and to limit access. Can be a bit clumsy, but it's nicely divorced from simple page controllers. |
|