minor fix
parent
823bd348d2
commit
2c9749b905
|
|
@ -33,7 +33,7 @@ class RegistryImportService {
|
|||
$urlInfo = parse_url($url);
|
||||
if (empty($urlInfo['host'])) $url = str_replace('//', '/', "https://faufcc.ru/{$url}");
|
||||
$info = pathinfo($url);
|
||||
if ($info['extension']) {
|
||||
if ($info['extension'] ?? null) {
|
||||
$path = "public/documents/registries";
|
||||
$filename = $filename ? "{$filename}.{$info['extension']}" : $info['basename'];
|
||||
$path = $dir ? "{$path}/{$dir}/{$filename}" : "{$path}/{$filename}";
|
||||
|
|
|
|||
Loading…
Reference in New Issue