@@ -373,7 +373,7 @@ |
||
373 | 373 | foreach ($this->urls['regular'] as $url => $urlData) { |
374 | 374 | // TODO Log this in exodus.log |
375 | 375 | if (empty($urlData['url'])) { |
376 | - // echo $urlData['mime'] . "\n"; |
|
376 | + // echo $urlData['mime'] . "\n"; |
|
377 | 377 | continue; |
378 | 378 | } |
379 | 379 |
@@ -302,9 +302,9 @@ |
||
302 | 302 | public function versionFile(string $relativeFilePath): string |
303 | 303 | { |
304 | 304 | // A while loop provides the ability to continually add further duplicates with the right name |
305 | - $base = ASSETS_PATH; |
|
305 | + $base = ASSETS_PATH; |
|
306 | 306 | |
307 | - while(file_exists("$base/$relativeFilePath")) { |
|
307 | + while(file_exists("$base/$relativeFilePath")) { |
|
308 | 308 | $i = isset($i) ? ($i + 1) : 2; |
309 | 309 | $oldFilePath = $relativeFilePath; |
310 | 310 |