From 453dfd2b5a6c63da411915642264c3e448ac5623 Mon Sep 17 00:00:00 2001 From: lgromero Date: Mon, 24 Mar 2025 09:28:40 +0100 Subject: [PATCH] Fix backup directory creation hotfix --- src/DhcpBundle/Service/CurlKeaService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DhcpBundle/Service/CurlKeaService.php b/src/DhcpBundle/Service/CurlKeaService.php index 0f3bdb8..a083547 100644 --- a/src/DhcpBundle/Service/CurlKeaService.php +++ b/src/DhcpBundle/Service/CurlKeaService.php @@ -82,7 +82,7 @@ class CurlKeaService $config_text = json_encode($get_output[0]['arguments']); $configurationParsed = str_replace('\\', '', $config_text); - $backup_dir = __DIR__ . '/../../../etc/kea/backup'; + $backup_dir = __DIR__ . '/../../../../etc/kea/backup'; if (!is_dir($backup_dir)) { throw new Exception('El directorio de backup no existe'); }