diff --git a/includes/init.php b/includes/init.php index 87a7e63e330a..7c61d671af0b 100644 --- a/includes/init.php +++ b/includes/init.php @@ -139,7 +139,7 @@ $tmp_list = dbFetchRows('SELECT DISTINCT(`os`) FROM `devices`'); $os_list = array(); foreach ($tmp_list as $k => $v) { - $os_list[] = $v['os']; + $os_list[] = $config['install_dir'].'/includes/definitions/'. $v['os'] . '.yaml'; } load_all_os($os_list); }