Change require of Autoload
@ -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
$app->route('/comm', new Comm, $allowed_origins);
//run websocket
$app->run();