Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Commit

Permalink
update version and change structure
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed May 27, 2016
1 parent 6440b03 commit 18a6a18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Console/MakeListener.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php namespace Orchid\Socket\Console;

use Illuminate\Console\GeneratorCommand;
use Illuminate\Console\GeneratorCommand;
use Symfony\Component\Console\Input\InputOption;

Expand Down
2 changes: 1 addition & 1 deletion Console/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function __construct()
public function fire()
{
$socket = new Socket($this->httpHost, $this->port, $this->address);
require_once app_path() . '/Socket/routes.php';
require_once app_path() . '/Http/Socket/routes.php';
$this->info('Laravel web socket server started on ' . $this->httpHost . ':' . $this->port . '/' . 'address:' . $this->address);
$socket->run();
}
Expand Down
4 changes: 2 additions & 2 deletions Providers/SocketServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected function registerConfig()
{
$this->publishes([
__DIR__ . '/../Config/socket.php' => config_path('socket.php'),
__DIR__ . '/../Services/Socket/routes.php' => app_path('/Http/Socket/routes.php'),
__DIR__ . '/../routes.php' => app_path('/Http/Socket/routes.php'),
]);
$this->mergeConfigFrom(
__DIR__ . '/../Config/socket.php', 'socket'
Expand All @@ -43,7 +43,7 @@ protected function registerConfig()

public function registerProviders()
{
// $this->app->register('Orchid\\Socket\\Providers\\ConsoleServiceProvider');
$this->app->register('Orchid\\Socket\\Providers\\ConsoleServiceProvider');
}

/**
Expand Down

0 comments on commit 18a6a18

Please sign in to comment.