BoltWire

Innovative Ideas :: Radical Results!

INFORMATION

DOCUMENTATION

SOLUTIONS

System Vars

Documentation > Previews for 4.xx > System Vars

Heres a list of our current system vars. I wonder how many of these really should be in the core, when it is so eacy to add these to a plugin. I mean, if only 1 in 1000 pages uses captcha, shouldn't we just load it for those pages? Ip2? Don't even remember what that is for. How often do you use field or fieldurl? Or sessid? Should sitemail be in the core? Some like script and action are used internally, but I bet we could get rid of half of these--and leave them to admins or plugins to make them available where needed.

version
now
captcha
return
ip
ip2
domain
field
fieldurl
skin
script
action
id
sessid
member
memberships
language
sitemail
superadmin


Comment by member.markus00000?, posted Thu Mar 25 14:00:52 2010 Consciously using it myself and would leave it in the core:
  • version (this should be on site.config?!)
  • now
  • return
  • member
  • domain
  • field (fieldurl?)
Using it myself and would strip it from the core:
  • captcha
Not using it myself but would leave it in the core:
  • memberships
Don't care or would strip it:
  • all others

Comment by member.caveman, posted Fri Mar 26 06:24:50 2010
That means dropping:

captcha, ip, ip2, skin, sessid, language, sitemail, superadmin.

I will need to keep action and script in for system reasons. I'm curious what you use field/fieldURL and domain for? Seems these are something that might be better off as custom settings?

Copyright © 2013, all rights reserved.