Add dumpCssFiles when cleaning cache.

1.10.x
Julio Montoya 9 years ago
parent 57102fff85
commit 768829ad38
  1. 3
      main/admin/archive_cleanup.php

@ -28,6 +28,8 @@ if ($form->validate()) {
$htaccess = @file_get_contents($archive_path.'.htaccess');
$result = rmdirr($archive_path, true, true);
\Chamilo\CoreBundle\Composer\ScriptHandler::dumpCssFiles();
if (!empty($htaccess)) {
@file_put_contents($archive_path.'/.htaccess', $htaccess);
}
@ -38,6 +40,7 @@ if ($form->validate()) {
$message = 'ArchiveDirCleanupFailed';
$type = 'error';
}
header('Location: '.api_get_self().'?msg='.$message.'&type='.$type);
exit;
}

Loading…
Cancel
Save