# groundwork for separated data/cache etc. directories (XDG)

remove path.cpp (it was based on the premise that all data files lie
below binaries/data)

This was SVN commit r7063.
This commit is contained in:
janwas
2009-08-01 19:37:38 +00:00
parent 7976d84a3d
commit c8cfd8b40b
32 changed files with 123 additions and 319 deletions
+1 -2
View File
@@ -27,7 +27,6 @@
#include "precompiled.h"
#include "NetLog.h"
#include "ps/CConsole.h"
#include "lib/file/path.h"
#include <stdio.h>
#include <stdarg.h>
@@ -259,7 +258,7 @@ CNetLogFileSink::CNetLogFileSink( void )
CNetLogger::GetStringTime( time );
// Make relative path
Path path("../logs/net_log");
fs::path path(psLogPath()/"net_log");
path /= time+".txt";
m_FileName = path.external_file_string();
m_Append = true;