Moved keywords from local variables to keywords map.
This commit is contained in:
1 parent
907f449ecc
commit
9622b5cf8c
23 files changed
+221
-220
No files matched your search
@@ -6,9 +6,9 @@
|
||||
namespace jet {
|
||||
|
||||
__jet::__jet(coreutils::ZString &in, coreutils::MString &parentOut, Global &global, Tag *parent, Tag *local) : Tag(in, parentOut, global, parent, this) {
|
||||
if(variableDefined("cgi"))
|
||||
if(keywordDefined("cgi"))
|
||||
resolveKeyword("cgi");
|
||||
if(variables["cgi"] == "true") {
|
||||
if(keywords["cgi"] == "true") {
|
||||
coreutils::ZString requestMethod(getenv("REQUEST_METHOD"));
|
||||
if(requestMethod == "POST") {
|
||||
coreutils::ZString contentLength(getenv("CONTENT_LENGTH"));
|
||||
|
||||
Reference in new issue
Block a user