Skip to content

Commit

Permalink
0.3.0 增加访问日志和优化程序
Browse files Browse the repository at this point in the history
  • Loading branch information
xtgxiso committed Feb 22, 2017
1 parent d80c392 commit d2bf3c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion App.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class App extends Worker
*
* @var string
*/
const VERSION = '0.2.9';
const VERSION = '0.3.0';

private $conn = false;
private $map = array();
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ $app->on404 = function() {
$this->ServerHtml("我的404");
};

//访问日志
Worker::$stdoutFile = './stdout.log';

// Run worker
Worker::runAll();
Expand Down

0 comments on commit d2bf3c6

Please sign in to comment.