#153 adds relatives routes in backup files

pull/1/head
Luis Gerardo Romero Garcia 2024-02-15 09:26:50 +01:00
parent 870cdc63b0
commit 3efac200a0
1 changed files with 1 additions and 1 deletions

View File

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