Skip to content
Snippets Groups Projects

Issue #3231992: Make the staged sites/default writable before cleaning

Merged Issue #3231992: Make the staged sites/default writable before cleaning
1 unresolved thread
1 unresolved thread
2 files
+ 6
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -58,7 +58,7 @@ class Cleaner implements CleanerInterface {
* {@inheritdoc}
*/
public function clean(string $stagingDir, ?ProcessOutputCallbackInterface $callback = NULL, ?int $timeout = 120): void {
// Ensure that the staged site directory is writable.
// Ensure that the staged site directory is writable so we can delete it.
$site_dir = implode(DIRECTORY_SEPARATOR, [
$stagingDir,
$this->pathLocator->getWebRoot() ?: '.',
Loading