mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-16 09:18:42 +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)
|
public function setPath(string $path)
|
||||||
{
|
{
|
||||||
$this->path = $path;
|
$this->path = str_replace('\\', '/', $path);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user