Yep. That's not a problem at all. You just have to add the folders that you want to protect in the z_us_root file.
Open the file z_us_root.php.
Line 2 has an array,
$path=[”,’users/’,’usersc/’];
https://mydomain.com and you already have
https://mydomain.com/users,
https://mydomain.com/usersc and you want to add a folder called ‘app’ (which would be
https://mydomain.com/app
Edit the file z_us_root.php line two to say
$path=[”,’users/’,’usersc/’,’app/’];
and your php files should show right up in the admin_pages section of the dashboard and in your database.
Wordpress uses curly quotation marks. Make sure you use straight ones (' & ")and that you don't have any spaces in your array.
Also, in order for UserSpice to actually protect the page, you need 2 lines of code at the top of each page.
Code:
<?php require_once 'init.php'; ?>
and
Code:
<?php if (!securePage($_SERVER['PHP_SELF'])){die();} ?>
Note that you want the actual relative path to init.php so if you have the folders
/
/users
/usersc
/yoursubdir
and your file is in /yoursubdir
the init line should be
Code:
<?php require_once '../users/init.php'; ?>