Revision f4a4bcbc
Added by Renato Botelho over 11 years ago
etc/inc/system.inc | ||
---|---|---|
178 | 178 |
|
179 | 179 |
// Read in dhclient nameservers |
180 | 180 |
$search_list = glob("/var/etc/searchdomain_*"); |
181 |
if (is_array($search_lists)) {
|
|
182 |
foreach($search_lists as $fdns) {
|
|
181 |
if (is_array($search_list)) { |
|
182 |
foreach($search_list as $fdns) { |
|
183 | 183 |
$contents = file($fdns, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); |
184 | 184 |
if (!is_array($contents)) |
185 | 185 |
continue; |
Also available in: Unified diff
Fix typo on variable name, it fixes #3414