Revision da666ca8
Added by Scott Ullrich over 14 years ago
etc/inc/captiveportal.inc | ||
---|---|---|
1914 | 1914 |
$cpumaclck = lock('captiveusedmacs'); |
1915 | 1915 |
if (file_exists("{$g['vardb_path']}/captiveportal_usedmacs.db")) { |
1916 | 1916 |
$usedmacs = file("{$g['vardb_path']}/captiveportal_usedmacs.db", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); |
1917 |
if (!usedmacs) |
|
1917 |
if (!$usedmacs)
|
|
1918 | 1918 |
$usedmacs = array(); |
1919 | 1919 |
} else |
1920 | 1920 |
$usedmacs = array(); |
Also available in: Unified diff
missing $