#153 adds relatives routes in backup files
parent
870cdc63b0
commit
3efac200a0
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue