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