1
Sorry if this has been covered before. I did a search and couldn't find anything.
I have a module called "classes". In my module I have a subfolder called "foo".
The module is only accessible by Admin users.
I created the following two files:
/modules/classes/test.php
-------------------------
require('../../mainfile.php');
echo "foobar
";
?>
/modules/classes/foo/test.php
-----------------------------
require('../../../mainfile.php');
echo "foobar
";
?>
When I log out of my site and access /modules/classes/test.php by tying in the URL directly, I get bounced back to the user.php page. That is what I expected. However, when I access /modules/classes/foo/test.php I see "foobar".
How do I extend the access permissions for a module to all the subfolders in a module?
Thanks for your help!
Groover