امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
In the widget I want to access http headers. In templates I can do that with $xf.request.getServer. With get I access the private #-elements. However in the widget, that does not work.
Code:
This works in the widget to display variables...
Read more
Code:
کد:
array:5 [▼
"xf" => array:37 [▼
"request" => Request {[Ctrl+click] Expand all children" target="_blank">#228 ▼
#server: array:59 [▼
"USER" => "www-data"
"HOME" => "/var/www"
Read more
