Browse Source

Correct a typo.

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

+ 2 - 2
www/swreg/swreg.php

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