mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-06 12:38:41 +00:00
Normalize media path
This commit is contained in:
parent
296956e9c7
commit
bb146561f8
|
|
@ -272,7 +272,7 @@ class Media
|
|||
*/
|
||||
public function setPath(string $path)
|
||||
{
|
||||
$this->path = $path;
|
||||
$this->path = str_replace('\\', '/', $path);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user