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
Minimum to access $settings array
#1
Sorry if this has been covered elsewhere...

I'm trying to access the $settings->site_offline element without including the headers and navigation php files because these mess up my page layouts (I don't use bootstrap but other HTML5/CSS templates).

Basically I want to isolate the php code to obtain the $settings array without invoking any US PHP files that will try and paint the screen...

I started to try and follow the various files, but ended up totally lost in the repeated "include"-ing of PHP code in the various helper libraries.

Is there a minimum set of PHP functions/methods that I can access without any presentation stuff being done? I love the UserSpice access model, I just don't want to always have the Bootstrap look and feel. I'm confident the bits are there, but some pointers to which to use would be great!

Thanks
  Reply


Messages In This Thread
Minimum to access $settings array - by grumpy-gnome - 02-25-2017, 04:06 PM
Minimum to access $settings array - by mudmin - 02-25-2017, 05:03 PM
Minimum to access $settings array - by mudmin - 02-25-2017, 06:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)