X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=nucleus%2Fapplications%2Fnechung%2Fcgi_nechung.cpp;h=46ddbaf9e5c0c2c8c410168d02746324111b2af8;hb=45263dc4716beb736e9c1536a1ae005d62627fbc;hp=a7478245175a5da151e8637eb69d037e80cf3bfd;hpb=3ea085ec301ed1399dfa1e9f3a240312dc95410b;p=feisty_meow.git diff --git a/nucleus/applications/nechung/cgi_nechung.cpp b/nucleus/applications/nechung/cgi_nechung.cpp index a7478245..46ddbaf9 100644 --- a/nucleus/applications/nechung/cgi_nechung.cpp +++ b/nucleus/applications/nechung/cgi_nechung.cpp @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) tmp.zap( (end + 1) - extension.length(), end); tmp += "idx"; astring base_part = filename(tmp).basename(); - index_file_name = environment::get("TMP") + "/" + base_part; + index_file_name = environment::TMP() + "/" + base_part; #ifdef DEBUG_NECHUNG LOG(astring("index file is ") + index_file_name); #endif @@ -81,9 +81,9 @@ int main(int argc, char *argv[]) // send the header for html text. printf("content-type: text/html\n\n"); // send the preliminary gunk. - printf("
\n"); -//old text color #33ccff + printf("\n"); +//text=\"#00ee00\" bgcolor=\"#000000\" link=\"#66ff99\" " +// "vlink=\"#cc33cc\" alink=\"#ff9900\">\n"); printf("\n"); printf("\n"); @@ -113,6 +113,7 @@ int main(int argc, char *argv[]) printf("\n"); printf("\n"); printf("\n"); + printf("\n"); return 0; }