Commit eec11eff authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Maj clear-cache

parent f2cad192
Loading
Loading
Loading
Loading
+5 −1
Changes for admin/actions/clear-cache.php: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -7,11 +7,15 @@ try {
    $c->exec([
        "cd $osedir",
        "rm -Rf cache/*",
        "chmod -R 777 cache",
    ], false);

    $oa->exec("generate-proxies");

    $c->exec([
        "cd $osedir",
        "chmod -R 777 cache",
    ], false);

    $c->println('Cache nettoyé, proxies actualisés', $c::COLOR_GREEN);
} catch (\Exception $e) {
    $c->println($e->getMessage());