aboutsummaryrefslogtreecommitdiff
path: root/src/Service/Backup.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Service/Backup.php')
-rw-r--r--src/Service/Backup.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Service/Backup.php b/src/Service/Backup.php
index 546e81e..6a9c638 100644
--- a/src/Service/Backup.php
+++ b/src/Service/Backup.php
@@ -47,7 +47,10 @@ class Backup
47 } 47 }
48 $command->mustRun(); // comme run() mais lance une ProcessFailedException 48 $command->mustRun(); // comme run() mais lance une ProcessFailedException
49 49
50 //$file_path = self::gzipCompress($file_path); // '.gz' ajouté à la fin 50 // pour plus tard
51 /*if(extension_loaded('zlib')){
52 //$file_path = self::gzipCompress($file_path); // '.gz' ajouté à la fin
53 }*/
51 54
52 chmod($file_path, 0666); 55 chmod($file_path, 0666);
53 return $file_path; 56 return $file_path;