summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_captiveportal.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-05-15 11:11:51 -0400
committerjim-p <jimp@pfsense.org>2012-05-15 11:11:51 -0400
commit29c2c1db15b7b6765da24218f06295a98e9e8983 (patch)
tree1e359dd3e6ed60041d9881e6c857b9c96179161b /usr/local/www/status_captiveportal.php
parent25890c507bba3d930ca16319333abf378f8a8adf (diff)
downloadpfsense-29c2c1db15b7b6765da24218f06295a98e9e8983.zip
pfsense-29c2c1db15b7b6765da24218f06295a98e9e8983.tar.gz
Fix quoting - can't use ' if we want to expand a variable inside the string.
Diffstat (limited to 'usr/local/www/status_captiveportal.php')
-rwxr-xr-xusr/local/www/status_captiveportal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php
index fac8145..658fa87 100755
--- a/usr/local/www/status_captiveportal.php
+++ b/usr/local/www/status_captiveportal.php
@@ -80,7 +80,7 @@ function clientcmp($a, $b) {
if (!empty($cpzone)) {
$cpdb = array();
if (file_exists("{$g['vardb_path']}/captiveportal_{$cpzone}.db")) {
- $captiveportallck = lock('captiveportaldb{$cpzone}');
+ $captiveportallck = lock("captiveportaldb{$cpzone}");
$cpcontents = file("/var/db/captiveportal_{$cpzone}.db", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
unlock($captiveportallck);
} else
OpenPOWER on IntegriCloud