[10.0.41.dev] Suppression du fichier theme après un import

This commit is contained in:
fredtempez 2019-10-21 18:40:11 +02:00
parent 4e1175adde
commit d47c47824a
1 changed files with 2 additions and 6 deletions

View File

@ -31,7 +31,7 @@ class common {
const TEMP_DIR = 'site/tmp/';
// Numéro de version
const ZWII_VERSION = '10.0.40.dev';
const ZWII_VERSION = '10.0.41.dev';
public static $actions = [];
public static $coreModuleIds = [
@ -646,11 +646,7 @@ class common {
// Nettoyage du fichier de thème pour forcer une régénération
if (!file_exists(self::DATA_DIR . '/theme.css')) { // On ne sait jamais
unlink (self::DATA_DIR . '/theme.css');
}
// Forcer un refresh
//http_response_code(301);
//header('Location:' . helper::baseUrl();
}
}
/**