mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-14 11:15:22 +00:00
fixed path to log file
This was SVN commit r295.
This commit is contained in:
@@ -39,8 +39,11 @@ CLogger::CLogger()
|
||||
|
||||
memset(m_MemoryLog,0,MEMORY_BUFFER_SIZE);
|
||||
|
||||
m_MainLog.open ("logs/mainlog.html",ofstream::out | ofstream::trunc);
|
||||
m_DetailedLog.open ("logs/detailedlog.html",ofstream::out | ofstream::trunc );
|
||||
// current directory is $install_dir/data, we want $install_dir/logs.
|
||||
// TODO: make sure we are called after file_rel_chdir,
|
||||
// or else cur dir may be anywhere
|
||||
m_MainLog.open ("../logs/mainlog.html",ofstream::out | ofstream::trunc);
|
||||
m_DetailedLog.open ("../logs/detailedlog.html",ofstream::out | ofstream::trunc );
|
||||
|
||||
//Write Headers for the HTML documents
|
||||
m_MainLog << MAIN_HEADER;
|
||||
|
||||
Reference in New Issue
Block a user