Skip to content

Commit 15e19da

Browse files
committed
Update WorkermanServer.php
1 parent cba8dfb commit 15e19da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ubiquity/servers/workerman/WorkermanServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ protected function handle(ConnectionInterface $connection, $datas) {
120120
// $_REQUEST['REQUEST_TIME_FLOAT']=\microtime(true);
121121
Http::header('Date: ' . \gmdate('D, d M Y H:i:s') . ' GMT');
122122
$_GET['c'] = '';
123-
$uriInfos = \Ubiquity\utils\http\URequest::parseURI($this->basedir);
123+
$uriInfos = \Ubiquity\utils\http\URequest::parseURI($_SERVER['REQUEST_URI'], $this->basedir);
124124
$uri = $uriInfos['uri'];
125125
if ($uriInfos['isAction']) {
126126
$_GET['c'] = $uri;

0 commit comments

Comments
 (0)