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