diff options
Diffstat (limited to 'src/service/Backup.php')
| -rw-r--r-- | src/service/Backup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service/Backup.php b/src/service/Backup.php index e29ff64..60d1b23 100644 --- a/src/service/Backup.php +++ b/src/service/Backup.php | |||
| @@ -176,7 +176,7 @@ class Backup | |||
| 176 | } | 176 | } |
| 177 | // sécurité cas pas normal | 177 | // sécurité cas pas normal |
| 178 | if(empty($tables)){ | 178 | if(empty($tables)){ |
| 179 | throw new Exception("Aucune table à supprimer"); | 179 | throw new RuntimeException("Aucune table à supprimer"); |
| 180 | } | 180 | } |
| 181 | 181 | ||
| 182 | $tmp = tempnam('../var', 'tmp_db_codes_'); // crée un fichier avec un nom aléatoire et des droits 600 (concurrence) | 182 | $tmp = tempnam('../var', 'tmp_db_codes_'); // crée un fichier avec un nom aléatoire et des droits 600 (concurrence) |
