Browse Source

Merge pull request #26 from gildonei/patch-1

Change require of Autoload
pull/27/head
Amir 6 years ago committed by GitHub
parent
commit
46338ba6a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ws/bin/server.php

4
ws/bin/server.php

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
* @date 23-Dec-2016
*/
require '../vendor/autoload.php';
require(realpath(dirname(__FILE__) . '/../') .'/vendor/autoload.php');
use Amir\Comm;
@ -22,4 +22,4 @@ $app = new Ratchet\App('localhost', 8080, '0.0.0.0');//App(hostname, port, 'whoC @@ -22,4 +22,4 @@ $app = new Ratchet\App('localhost', 8080, '0.0.0.0');//App(hostname, port, 'whoC
$app->route('/comm', new Comm, $allowed_origins);
//run websocket
$app->run();
$app->run();

Loading…
Cancel
Save