08 2024
This commit is contained in:
parent
c1c613a4b9
commit
881fc84207
384 changed files with 50679 additions and 990 deletions
|
|
@ -125,6 +125,7 @@ class FileRepository extends BaseRepository {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private function makeFilename(){
|
||||
$originalNameWithoutExt = substr($this->originalName, 0, strlen($this->originalName) - strlen($this->extension) - 1);
|
||||
$this->filename = Util::sanitize($originalNameWithoutExt, true, false, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue