"replacing colons with dashes in filenames, as some windows installs seem to have problem with colons in filenames"

This commit is contained in:
Ralf Becker 2009-04-29 16:08:13 +00:00
parent 0275b183dd
commit b6eda8e39b

View File

@ -137,7 +137,7 @@ class egw_cache_files implements egw_cache_provider
*/
private function filename(array $keys,$mkdir=false)
{
$fname = $this->base_path.'/'.implode('/',$keys);
$fname = $this->base_path.'/'.str_replace(':','-',implode('/',$keys));
if ($mkdir && !file_exists($dirname=dirname($fname)))
{