Fix backup directory creation hotfix
testing/og-dhcp-API/pipeline/head There was a failure building this commit Details

new_files_placement
Luis Gerardo Romero Garcia 2025-03-24 09:28:40 +01:00
parent 6eac73bc69
commit 453dfd2b5a
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class CurlKeaService
$config_text = json_encode($get_output[0]['arguments']); $config_text = json_encode($get_output[0]['arguments']);
$configurationParsed = str_replace('\\', '', $config_text); $configurationParsed = str_replace('\\', '', $config_text);
$backup_dir = __DIR__ . '/../../../etc/kea/backup'; $backup_dir = __DIR__ . '/../../../../etc/kea/backup';
if (!is_dir($backup_dir)) { if (!is_dir($backup_dir)) {
throw new Exception('El directorio de backup no existe'); throw new Exception('El directorio de backup no existe');
} }