work towards a clean compile on migrating set and get variables from Tag.

This commit is contained in:
barant committed 2025-01-08 10:27:30 -08:00
1 parent 2549220914
commit 5c27df59da
25 files changed
+178 -306

No files matched your search

+1 -3
View File
@@ -6,9 +6,7 @@
namespace jet {
__jet::__jet(coreutils::ZString &in, coreutils::MString &parentOut, Global &global, Tag *parent, Tag *local) : Tag(in, parentOut, global, parent, this) {
if(keywordDefined("cgi"))
resolveKeyword("cgi");
if(keywords["cgi"] == "true") {
if(keywordDefined("cgi") && (keywords[resolveKeyword("cgi")] == "true")) {
coreutils::ZString requestMethod(getenv("REQUEST_METHOD"));
if(requestMethod == "POST") {
coreutils::ZString contentLength(getenv("CONTENT_LENGTH"));