|
@@ -190,7 +190,7 @@ discard block |
|
|
block discarded – undo |
|
190
|
190
|
$this->_pathInfo = substr($_SERVER['PHP_SELF'], strlen($_SERVER['SCRIPT_NAME'])); |
|
191
|
191
|
} elseif ($this->_urlFormat === THttpRequestUrlFormat::Path) { |
|
192
|
192
|
$this->_pathInfo = substr($this->_requestUri, strlen($_SERVER['SCRIPT_NAME'])); |
|
193
|
|
- } elseif($this->_urlFormat === THttpRequestUrlFormat::HiddenPath) { |
|
|
193
|
+ } elseif ($this->_urlFormat === THttpRequestUrlFormat::HiddenPath) { |
|
194
|
194
|
$this->_pathInfo = substr($this->_requestUri, strlen(dirname($_SERVER['SCRIPT_NAME']))); |
|
195
|
195
|
} else { |
|
196
|
196
|
$this->_pathInfo = ''; |
|
@@ -830,7 +830,7 @@ discard block |
|
|
block discarded – undo |
|
830
|
830
|
* @param array $urlParams The decoded url parameters to be updated or replaced |
|
831
|
831
|
* @return array|false|string |
|
832
|
832
|
*/ |
|
833
|
|
- public function onResolveRequest(array $serviceIDs, array $urlParams): false|string|array |
|
|
833
|
+ public function onResolveRequest(array $serviceIDs, array $urlParams): false | string | array |
|
834
|
834
|
{ |
|
835
|
835
|
$results = $this->raiseEvent('onResolveRequest', $this, new THttpRequestParameter($serviceIDs, $urlParams), TEventResults::EVENT_REVERSE); |
|
836
|
836
|
while (count($results)) { |
Please login to merge, or discard this patch.