summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-05-21 22:38:22 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-05-21 22:38:22 -0400
commiteb2c4175fe906c5cca5fa7767490796497c8a106 (patch)
tree8eb1f21dd5a2bd1b9b38bbe32c2a33e172dc26d2
parent38080cc14c677802493b3a7670498dca8a5e851f (diff)
downloadpfsense-eb2c4175fe906c5cca5fa7767490796497c8a106.zip
pfsense-eb2c4175fe906c5cca5fa7767490796497c8a106.tar.gz
We accept PHP pages now, note this
-rwxr-xr-xusr/local/www/services_captiveportal.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php
index 8f8262c..6b024d3 100755
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -608,7 +608,7 @@ value="<?=htmlspecialchars($pconfig['radiuskey2']);?>"></td>
<br>
<br>
<?php endif; ?>
- Upload an HTML file for the portal page here (leave blank to keep the current one). Make sure to include a form (POST to &quot;$PORTAL_ACTION$&quot;)
+ Upload an HTML/PHP file for the portal page here (leave blank to keep the current one). Make sure to include a form (POST to &quot;$PORTAL_ACTION$&quot;)
with a submit button (name=&quot;accept&quot;) and a hidden field with name=&quot;redirurl&quot; and value=&quot;$PORTAL_REDIRURL$&quot;.
Include the &quot;auth_user&quot; and &quot;auth_pass&quot; and/or &quot;auth_voucher&quot; input fields if authentication is enabled, otherwise it will always fail.
Example code for the form:<br>
@@ -632,7 +632,7 @@ Example code for the form:<br>
<br>
<br>
<?php endif; ?>
-The contents of the HTML file that you upload here are displayed when an authentication error occurs.
+The contents of the HTML/PHP file that you upload here are displayed when an authentication error occurs.
You may include &quot;$PORTAL_MESSAGE$&quot;, which will be replaced by the error or reply messages from the RADIUS server, if any.</td>
</tr>
<tr>
OpenPOWER on IntegriCloud