@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | '', |
123 | 123 | \dirname($file) |
124 | 124 | ); |
125 | - $start .= '/'.\rtrim($relativeSubdirs, '/'); |
|
125 | + $start .= '/'.\rtrim($relativeSubdirs, '/'); |
|
126 | 126 | } |
127 | 127 | $realpath = \realpath($start.'/'.$path); |
128 | 128 | if (empty($realpath) || (!\file_exists($realpath) && !\is_dir($realpath))) { |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | $context = stream_context_create(['http' => ['method' => 'HEAD']]); |
167 | 167 | $result = null; |
168 | 168 | try { |
169 | - $headers=get_headers($link, 0, $context); |
|
169 | + $headers = get_headers($link, 0, $context); |
|
170 | 170 | foreach ($headers as $header) { |
171 | 171 | if (false !== strpos($header, ' 200 ')) { |
172 | 172 | return; |
@@ -180,6 +180,6 @@ discard block |
||
180 | 180 | $link, |
181 | 181 | var_export($result, true) |
182 | 182 | ); |
183 | - $return = 1; |
|
183 | + $return = 1; |
|
184 | 184 | } |
185 | 185 | } |