Browse Source

Fix a typo.

Joe Clarke 5 years ago
parent
commit
139c30f989
1 changed files with 1 additions and 1 deletions
  1. 1 1
      www/swreg/swreg.php

+ 1 - 1
www/swreg/swreg.php

@@ -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";