@@ -18,7 +18,7 @@ |
||
18 | 18 | { |
19 | 19 | public function __construct(IFiltered $inputs, ?string $virtualDir = null) |
20 | 20 | { |
21 | - $requestUri = $inputs->getInArray('REQUEST_URI', [IEntry::SOURCE_SERVER, ] ); |
|
21 | + $requestUri = $inputs->getInArray('REQUEST_URI', [IEntry::SOURCE_SERVER, ]); |
|
22 | 22 | $entry = reset($requestUri); |
23 | 23 | parent::__construct( |
24 | 24 | $entry ? strval($entry) : '', |
@@ -51,13 +51,13 @@ |
||
51 | 51 | public function __construct(Sources\ASource $source) |
52 | 52 | { |
53 | 53 | $params = $source->getData(); |
54 | - $this->user = strval($params['user'] ?? $this->user ); |
|
55 | - $this->lang = strval($params['lang'] ?? $this->lang ); |
|
54 | + $this->user = strval($params['user'] ?? $this->user); |
|
55 | + $this->lang = strval($params['lang'] ?? $this->lang); |
|
56 | 56 | $this->path = array_filter(isset($params['path']) ? Stuff::linkToArray(strval($params['path'])) : $this->path); |
57 | 57 | $this->module = array_filter(isset($params['module']) ? Support::moduleNameFromRequest(strval($params['module'])) : $this->module); |
58 | 58 | $this->isSingle = isset($params['single']); |
59 | - $this->staticPath = strval($params['staticPath'] ?? $this->staticPath ); |
|
60 | - $this->virtualPrefix = strval($params['virtualPrefix'] ?? $this->virtualPrefix ); |
|
59 | + $this->staticPath = strval($params['staticPath'] ?? $this->staticPath); |
|
60 | + $this->virtualPrefix = strval($params['virtualPrefix'] ?? $this->virtualPrefix); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | public function getStaticPath(): string |