mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-16 03:30:49 +01:00
fix PHP Warning if keys contain a backslash as in namespaced classes
This commit is contained in:
parent
47f96640c9
commit
e3c67a1c63
@ -207,7 +207,7 @@ class Files extends Base implements Provider
|
||||
*/
|
||||
function filename(array $keys,$mkdir=false)
|
||||
{
|
||||
$fname = $this->base_path.'/'.str_replace(array(':','*'),'-',implode('/',$keys));
|
||||
$fname = $this->base_path.'/'.str_replace(array(':','*','\\'),'-',implode('/',$keys));
|
||||
|
||||
if ($mkdir && !file_exists($dirname=dirname($fname)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user