01-01-2017, 04:06 PM
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.
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.