This commit is contained in:
@@ -122,7 +122,7 @@ ConfigFile::ConfigFile(int argc, char **argv) : noWriteAccess(0)
|
|||||||
dataDir += "data/";
|
dataDir += "data/";
|
||||||
////define cache-dir
|
////define cache-dir
|
||||||
cacheDir = configFileName;
|
cacheDir = configFileName;
|
||||||
cacheDir += "cache\\";
|
cacheDir += "cache/";
|
||||||
//create directories on first start of app
|
//create directories on first start of app
|
||||||
mkdir(configFileName.c_str(), MODUS) ;
|
mkdir(configFileName.c_str(), MODUS) ;
|
||||||
mkdir(logDir.c_str(), MODUS);
|
mkdir(logDir.c_str(), MODUS);
|
||||||
|
|||||||
@@ -19,15 +19,11 @@
|
|||||||
|
|
||||||
#include "avatarmanager.h"
|
#include "avatarmanager.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#include <boost/filesystem.hpp>
|
||||||
#include <boost/filesystem.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/filesystem/operations.hpp> // includes path.hpp
|
|
||||||
#include <boost/filesystem/convenience.hpp>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <openssl/md5.h>
|
#include <openssl/md5.h>
|
||||||
|
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace boost::filesystem;
|
using namespace boost::filesystem;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user