The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Manage Page Access - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Manage Page Access (/showthread.php?tid=175)



Manage Page Access - snifer999 - 06-29-2016

how can i show my php file inside another folder ? i try to save my php file my own folder but it does not detect it..


Manage Page Access - brian - 06-29-2016

In the root of the UserSpice install, you will see a file called z_us_root.php. If you open this file, you will see a PHP variable with an assignment:

$path=['','users/','usersc/'];

This is an array of paths that UserSpice will index for page control. It does NOT parse subfolders, so you need to give it the full path of where your files are located, relative to this z_us_root.php. For example, if you had a folder called 'new', then your $path variable should look like:

$path=['','users/','usersc/','new/'];

Don't forget the trailing slash.


Manage Page Access - snifer999 - 06-30-2016

thank i will try it ...