|
@@ -260,7 +260,7 @@ if (file_exists(DEVICE_TMPL_DIR.'/device.tmpl')) {
|
|
|
if (file_exists(DEVICE_TMPL_DIR.'/'.$found_pid.'/device.tmpl')) {
|
|
|
$contents .= file_get_contents(DEVICE_TMPL_DIR.'/'.$found_pid.'/device.tmpl');
|
|
|
}
|
|
|
-if (file_exists(DEVICE_TMP_DIR.'/device-override/'.$row['hostname'].'-device.tmpl')) {
|
|
|
+if (file_exists(DEVICE_TMP_DIR.'/device-overrides/'.$row['hostname'].'-device.tmpl')) {
|
|
|
$contents .= file_get_contents(DEVICE_TMP_DIR.'/device-overrides/'.$row['hostname'].'-device.tmpl');
|
|
|
}
|
|
|
$contents .= "end\n";
|