I have a private folder in my MVC directory structure where I want to deny all access to. The only way this folder (and containing files) should be accessible is through includes only.
For the public folder, anyone should be able to access that as that is my View.
The root index.php is my entry file, and that should be able to include and execute the private index.php script.
Anybody that can help me out or point me to the right direction with achieving this?
private
model
controller
core
config.ini.php
index.php
...
public
stylesheets
signup.php
login.php
index.php
...
index.php