diff --git a/src/handler/eventHandler.h b/src/handler/eventHandler.h index 56c2fd8..9eef7c2 100644 --- a/src/handler/eventHandler.h +++ b/src/handler/eventHandler.h @@ -14,7 +14,7 @@ #include "listView.h" #include "loginView.h" -const string CONFIG_PATH = "/mnt/ext1/system/config/nextcloud"; +const string LOG_PATH = "/mnt/ext1/system/config/nextcloud"; class EventHandler { diff --git a/src/util/log.cpp b/src/util/log.cpp index 1ab5353..bceae27 100644 --- a/src/util/log.cpp +++ b/src/util/log.cpp @@ -14,7 +14,7 @@ void Log::writeLog(const string &text) { - std::ofstream log(CONFIG_PATH + std::string("/logfile.txt"), std::ios_base::app | std::ios_base::out); + std::ofstream log(LOG_PATH + std::string("/logfile.txt"), std::ios_base::app | std::ios_base::out); time_t rawtime; struct tm *timeinfo;