Skip to content

Commit

Permalink
hide file_put_contents
Browse files Browse the repository at this point in the history
  • Loading branch information
coachmaxz committed Mar 27, 2018
1 parent a8559fa commit 98713f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codestepz/linebotphp",
"version": "1.0.0",
"version": "1.0.1",
"description": "LINE BOT API with PHP7",
"homepage": "https://codestep.io",
"keywords": [ "codestep", "library", "linebot" ],
Expand Down
4 changes: 2 additions & 2 deletions src/LineBotPhp.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function __construct ($channelSecret, $access_token) {

}

file_put_contents(__DIR__ . '/logs/log_' . date("Y-m-d-HH-ii-ss") . '.txt', $events);
// file_put_contents(__DIR__ . '/logs/log_' . date("Y-m-d-HH-ii-ss") . '.txt', $events);

parent::__construct($this->httpClient, [ 'channelSecret' => $channelSecret ]);

Expand Down Expand Up @@ -115,5 +115,5 @@ public function verify ($access_token) {
return json_decode($result);

}

}

0 comments on commit 98713f0

Please sign in to comment.