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
- version (this should be on site.config?!)
- now
- return
- member
- domain
- field (fieldurl?)
- captcha
- memberships
- 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?

