Commit 011303a5 authored by Ghislain Loas's avatar Ghislain Loas

fix filemanager

parent dcb2f3eb
......@@ -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;
}
......
Markdown is supported
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