Skip to content
Snippets Groups Projects
Commit 011303a5 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

fix filemanager

parent dcb2f3eb
Branches
Tags 7.12.14
3 merge requests!2660Master,!2625Master,!2624Hotline
Pipeline #3998 passed with stage
in 38 minutes and 53 seconds
......@@ -146,7 +146,10 @@ class Class_FileManager extends Class_Entity {
protected static function _urlToPath($path) {
return str_replace(BASE_URL . '/' , '', $path);
if(0 === strpos($path, BASE_URL))
$path = str_replace(BASE_URL . '/' , '', $path);
return $path;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment