+ throw exception is guids not appropriated to local site url

* basename extraction support multibyte strings filenames
This commit is contained in:
2022-07-10 19:51:25 +03:00
parent 84abee4234
commit 0e490e3fc6
6 changed files with 37 additions and 8 deletions

10
src/Support/helpers.php Normal file
View File

@ -0,0 +1,10 @@
<?php
if (!function_exists('mb_basename')) {
function mb_basename(string $file)
{
$filenameParts = explode('/', $file);
return end($filenameParts);
}
}