mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
fix PHP Warning if keys contain a backslash as in namespaced classes
This commit is contained in:
parent
a1a43afe53
commit
c9cc1f2e63
@ -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