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
Project structure
#5
Ok. So you're using xampp. Let's say that you have your project installed in C:/xampp/htdocs/userSpice41, which would come up in the browser as http://localhost/userSpice41

Then inside that you have folders like /users and /usersc

If you want to put all of your files in the http://localhost/userSpice41 then all you need to do is point the init file to
Code:
require_once 'users/init.php';

If you're putting your files in http://localhost/userSpice41/myFiles then all of your project files in that folder need to have
Code:
require_once '../users/init.php';


So the second question is if userspice is monitoring the folder that your files are in. If your files are in
http://localhost/userSpice41/
http://localhost/userSpice41/users
http://localhost/userSpice41/usersc

then the answer is automatically yes. If you're doing something like
http://localhost/userSpice41/myFiles

Open the file z_us_root.php.

Line 2 has an array,

Code:
$path=[”,’users/’,’usersc/’];
change it to
Code:
$path=[”,’users/’,’usersc/’,'myFiles/'];

I hope that helps.
  Reply


Messages In This Thread
Project structure - by lastnerve - 10-16-2016, 01:48 PM
Project structure - by mudmin - 10-16-2016, 01:50 PM
Project structure - by lastnerve - 10-16-2016, 02:01 PM
Project structure - by lastnerve - 10-19-2016, 11:49 PM
Project structure - by mudmin - 10-20-2016, 03:17 AM
Project structure - by lastnerve - 10-20-2016, 04:28 PM
Project structure - by mudmin - 10-20-2016, 04:52 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)