cleaning up usage of TMP variable to always get it from environment class.
[feisty_meow.git] / nucleus / applications / nechung / cgi_nechung.cpp
index a7478245175a5da151e8637eb69d037e80cf3bfd..7fc24c4f55dcce7b42a4ebe5162021bf2219e7a1 100644 (file)
@@ -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