Restricting folder access based on membership level

12 posts by 3 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: May 11, 2010   (RSS)

By Dave - May 11, 2010

Hi Jerry,

Will there be sub-folders or no? If no subfolders you can use this:

<?php $folderName = basename(dirname(__FILE__)); ?>
<?php echo $folderName; ?>

Then use foldername in your "where". If there's subfolders we'll need something more advanced.
Dave Edis - Senior Developer
interactivetools.com