086 Nom du fichier de backup
This commit is contained in:
parent
a06e71f6dc
commit
1312de02d8
@ -73,7 +73,7 @@ class helper {
|
|||||||
|
|
||||||
public static function autoBackup($folder, $filter = ['backup','tmp'] ) {
|
public static function autoBackup($folder, $filter = ['backup','tmp'] ) {
|
||||||
// Creation du ZIP
|
// Creation du ZIP
|
||||||
$fileName = str_replace('/','',helper::baseUrl(false,false)) . '-'. date('Y-m-d-h-i-s', time()) . '.zip';
|
$fileName = 'ZwiiCMS-backup'. date('Y-m-d-h-i-s', time()) . '.zip';
|
||||||
$zip = new ZipArchive();
|
$zip = new ZipArchive();
|
||||||
$zip->open($folder . $fileName, ZipArchive::CREATE | ZipArchive::OVERWRITE);
|
$zip->open($folder . $fileName, ZipArchive::CREATE | ZipArchive::OVERWRITE);
|
||||||
$directory = 'site/';
|
$directory = 'site/';
|
||||||
|
@ -36,7 +36,7 @@ class common {
|
|||||||
const THUMBS_WIDTH = 640;
|
const THUMBS_WIDTH = 640;
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '10.0.085';
|
const ZWII_VERSION = '10.0.086';
|
||||||
const ZWII_UPDATE_CHANNEL = "v10";
|
const ZWII_UPDATE_CHANNEL = "v10";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user