summaryrefslogtreecommitdiffstats
path: root/application/controllers/IndexController.php
diff options
context:
space:
mode:
authorSimon2011-04-14 15:30:42 +0200
committerSimon2011-04-14 15:30:42 +0200
commit1e1ed298287ccffac7ae4e8d4c3076827d2b3461 (patch)
tree384dfd370417e2d13c39e14f49c2db931db1d312 /application/controllers/IndexController.php
parentdebug für fbgui (diff)
downloadpbs2-1e1ed298287ccffac7ae4e8d4c3076827d2b3461.tar.gz
pbs2-1e1ed298287ccffac7ae4e8d4c3076827d2b3461.tar.xz
pbs2-1e1ed298287ccffac7ae4e8d4c3076827d2b3461.zip
debug für fbgui
Diffstat (limited to 'application/controllers/IndexController.php')
-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');
}