changed log path

pull/23/head
JuanJakobo 2020-08-26 19:02:49 +02:00
parent b212608bcd
commit 8d1119270e
2 changed files with 2 additions and 2 deletions

View File

@ -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
{

View File

@ -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;