mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-03 12:50:02 +00:00
Delete get_env, which confused me a lot.
Get raw environment variables directly from main(). Add code to split on '=' in cgi_environment_vars and only pick the ones that are interesting, just as before.
This commit is contained in:
parent
376b34c1d0
commit
07135f215c
9 changed files with 60 additions and 98 deletions
|
@ -81,8 +81,8 @@ namespace cgi {
|
|||
}
|
||||
} //unnamed namespace
|
||||
|
||||
Env::Env() :
|
||||
m_cgi_env(cgi_environment_vars())
|
||||
Env::Env(const char* const* parEnvList) :
|
||||
m_cgi_env(cgi_environment_vars(parEnvList))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue