diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-05-21 22:38:22 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-05-21 22:38:22 -0400 |
commit | eb2c4175fe906c5cca5fa7767490796497c8a106 (patch) | |
tree | 8eb1f21dd5a2bd1b9b38bbe32c2a33e172dc26d2 /usr | |
parent | 38080cc14c677802493b3a7670498dca8a5e851f (diff) | |
download | pfsense-eb2c4175fe906c5cca5fa7767490796497c8a106.zip pfsense-eb2c4175fe906c5cca5fa7767490796497c8a106.tar.gz |
We accept PHP pages now, note this
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/services_captiveportal.php | 4 |
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 "$PORTAL_ACTION$") + 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 "$PORTAL_ACTION$") with a submit button (name="accept") and a hidden field with name="redirurl" and value="$PORTAL_REDIRURL$". Include the "auth_user" and "auth_pass" and/or "auth_voucher" 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 "$PORTAL_MESSAGE$", which will be replaced by the error or reply messages from the RADIUS server, if any.</td> </tr> <tr> |