|
@@ -3,12 +3,17 @@
|
|
|
#include <iostream>
|
|
|
#include <fstream>
|
|
|
#include <Globals.h>
|
|
|
+#include <sys/resource.h>
|
|
|
|
|
|
int main()
|
|
|
{
|
|
|
+ struct rlimit core_limits;
|
|
|
+ core_limits.rlim_cur = core_limits.rlim_max = RLIM_INFINITY;
|
|
|
+ setrlimit(RLIMIT_CORE, &core_limits);
|
|
|
+
|
|
|
Framework::initFramework();
|
|
|
Zeit *z = getZeit();
|
|
|
- Text *pfad = new Text( "../log/login/" );
|
|
|
+ Text *pfad = new Text( "../log/minigame/" );
|
|
|
pfad->append( z->getZeit( "y-m-d h-i-s.log" ) );
|
|
|
z->release();
|
|
|
DateiPfadErstellen( pfad->getThis() );
|