summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/controllers/IndexController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/IndexController.php b/application/controllers/IndexController.php
index ccc296d..578f5d3 100644
--- a/application/controllers/IndexController.php
+++ b/application/controllers/IndexController.php
@@ -16,8 +16,8 @@ class IndexController extends Zend_Controller_Action
}
$path = "../resources/debugs/";
@mkdir($path ,0777, true);
- $fp = fopen($path.'lastsession.txt', "w");
- fputs ($fp, implode("\n",$_SESSION['postdata']));
+ $fp = fopen($path.'lastsession.txt', "a");
+ fputs ($fp,date("Y-m-d H:i:s",time())."\t".implode("\t",$_SESSION['postdata']));
fclose ($fp);
$this->_redirect('/fbgui/index/index');
}