Fix cache directory upgrading - do not try to remove the destination directory.
parent
a045ab3459
commit
fc4cc79a52
|
@ -118,10 +118,12 @@ class Factory
|
|||
@rename($child, $dir.'/'.basename($child));
|
||||
}
|
||||
}
|
||||
if ($config->get('cache-dir') != $oldPath) {
|
||||
@rmdir($oldPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue