Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #239 from swooletw/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
albertcht authored Mar 7, 2019
2 parents abd9c7a + fa965b7 commit 43c9266
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions copy_versioned_files.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@

require __DIR__.'/vendor/autoload.php';

use SwooleTW\Http\Coroutine\Connectors\ConnectorFactory;
use SwooleTW\Http\Helpers\FW;
use SwooleTW\Http\Task\QueueFactory;
use SwooleTW\Http\Coroutine\Connectors\ConnectorFactory;

try {
$framework = ucfirst(FW::current());
$version = FW::version();
} catch (Throwable $e) {
echo "No files were generated.\n";
die;
}

$version = FW::version();
$framework = ucfirst(FW::current());
$color = "\033[0;32m";
$noColor = "\033[0m";
$stubs = [];
Expand Down
2 changes: 1 addition & 1 deletion src/HttpServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function boot()
$config = $this->app->make('config');

if ($config->get('swoole_http.websocket.enabled')) {
$this->bootRoutes();
$this->bootWebsocketRoutes();
}

if ($config->get('swoole_http.server.access_log')) {
Expand Down

0 comments on commit 43c9266

Please sign in to comment.