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
Create a php file and put it in the database
#2
Are you trying to store a list of all your filenames in the database?

If you edit z_us_root.php in the root folder you can add additional folders that you want userspice to monitor.

If you are trying to do something different with that info, you can see at the top of admin_pages.php, starting at line 42, we are taking a specific path (in this case it comes from the z_us_root.php file, but you could do anything). Then we search for all the php files in that path. If they're in the database, we skip them. If not, we add them.
  Reply


Messages In This Thread
Create a php file and put it in the database - by mudmin - 01-01-2017, 04:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)