File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed
Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ public function __construct($config)
99 {
1010 $ this ->$ key = $ value ;
1111 }
12- $ backtrace = debug_backtrace ();
13- $ this ->_autoloadRootPath = dirname ($ backtrace [0 ]['file ' ]);
1412 }
1513
1614 public function onWorkerStart ()
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ public function __construct($config)
1111 }
1212
1313 $ this ->router = array ("\\GatewayWorker \\Gateway " , 'routerBind ' );
14- $ backtrace = debug_backtrace ();
15- $ this ->_autoloadRootPath = dirname ($ backtrace [0 ]['file ' ]);
1614 }
1715
1816 public function onConnect ($ connection )
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ class Register extends \GatewayWorker\Register
55{
66 public function __construct ()
77 {
8- $ backtrace = debug_backtrace ();
9- $ this ->_autoloadRootPath = dirname ($ backtrace [0 ]['file ' ]);
8+
109 }
1110
1211 public function onWorkerstart ()
You can’t perform that action at this time.
0 commit comments