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
// send the header for html text.
printf("content-type: text/html\n\n");
// send the preliminary gunk.
- printf("<body text=\"#00ee00\" bgcolor=\"#000000\" link=\"#66ff99\" "
- "vlink=\"#cc33cc\" alink=\"#ff9900\">\n");
-//old text color #33ccff
+ printf("<body>\n");
+//text=\"#00ee00\" bgcolor=\"#000000\" link=\"#66ff99\" "
+// "vlink=\"#cc33cc\" alink=\"#ff9900\">\n");
printf("<tt style=\"font-weight: bold;\">\n");
printf("<font size=\"+1\">\n");
printf("</font>\n");
printf("</tt>\n");
printf("</body>\n");
+ printf("</html>\n");
return 0;
}