diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Service/Backup.php | 5 |
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; |
