ncjoes / office-converter

PHP Wrapper for LibreOffice
MIT License
197 stars 75 forks source link

`str_replace` causes error - now `basename` #33

Closed AlexOConnorHub closed 2 years ago

AlexOConnorHub commented 3 years ago

By using str_replace, all instances of the extension is replaced in the filename, not just the extension. basename is designed to just remove the extension, and not replace very occurrence.