Skip to content

Commit

Permalink
GLOBAL_START
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor committed Nov 4, 2016
1 parent ca6c671 commit c0a0897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/chat/start_io.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@

});

if (!defined(GLOBAL_START)) {
if (!defined('GLOBAL_START')) {
Worker::runAll();
}
2 changes: 1 addition & 1 deletion examples/chat/start_web.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
$web = new WebServer('http://0.0.0.0:2022');
$web->addRoot('localhost', __DIR__ . '/public');

if (!defined(GLOBAL_START)) {
if (!defined('GLOBAL_START')) {
Worker::runAll();
}

0 comments on commit c0a0897

Please sign in to comment.