Normalize media path

This commit is contained in:
Dennis Eichhorn 2017-10-07 17:15:29 +02:00
parent 296956e9c7
commit bb146561f8

View File

@ -272,7 +272,7 @@ class Media
*/ */
public function setPath(string $path) public function setPath(string $path)
{ {
$this->path = $path; $this->path = str_replace('\\', '/', $path);
} }
/** /**