The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
#2
Glad you're enjoying it!

The great thing about UserSpice is that it doesn't really matter how you use it.
You basically need to require_once the init.php (with proper path) and add the line
Code:
<?php if (!securePage($_SERVER['PHP_SELF'])){die();} ?>

Beyond that, as long as userspice knows where to look for your files, you can use as much or as little as our code/structure as you want.
  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)