diff options
-rwxr-xr-x | usr/local/www/services_captiveportal_filemanager.php | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/usr/local/www/services_captiveportal_filemanager.php b/usr/local/www/services_captiveportal_filemanager.php index d4192e7..46fecc8 100755 --- a/usr/local/www/services_captiveportal_filemanager.php +++ b/usr/local/www/services_captiveportal_filemanager.php @@ -156,12 +156,17 @@ include("head.inc"); <span class="vexpl"><span class="red"><strong> Note:<br> </strong></span> - Any files that you upload here will be made available in the root directory - of the captive portal HTTP(S) server. You may reference them directly from - your portal page HTML code using relative paths. Example: you've uploaded - an image with the name 'test.jpg' using the file manager. Then you can - include it in your portal page like this:<br><br> - <tt><img src="test.jpg" width=... height=...></tt> + Any files that you upload here with the filename prefix of captiveportal- will + be made available in the root directory of the captive portal HTTP(S) server. + You may reference them directly from your portal page HTML code using relative paths. + Example: you've uploaded an image with the name 'captiveportal-test.jpg' using the + file manager. Then you can include it in your portal page like this:<br><br> + <tt><img src="captiveportal-test.jpg" width=... height=...></tt> + <br><br> + In addition, you can also upload .php files for execution. You can pass the filename + to your custom page from the initial page by using text similar to: + <br><br> + <tt><a href="/captiveportal-aup.php?redirurl=$PORTAL_REDIRURL$">Acceptable usage policy</a></tt> <br><br> The total size limit for all files is <?=format_bytes($g['captiveportal_element_sizelimit']);?>.</span> </td> |