'engine/Library/Mpdf/tmp' => false,
'engine/Library/Mpdf/ttfontdata' => false,
];
CommonUtils::
clearOpcodeCache();
$results =
[];
foreach ($directoriesToDelete as $directory =>
$deleteDirecory) { $result = true;
$filePath = SW_PATH . '/' .
$directory;
Utils::
deleteDir($filePath,
$deleteDirecory);
if ($deleteDirecory &&
is_dir($filePath)) { $result = false;
$hasErrors = true;
} if ($deleteDirecory) { $results[$directory] =
$result;
} } if (!
$hasErrors &&
$this->app->
request()->
get('force'
) !== '1'
) {