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
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Manage Page Access
#1
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..
  Reply
#2
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.
  Reply
#3
thank i will try it ...
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)