1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

error.php, header.php, footer.php - Add custom exception handling, header, footer; index.php, upload-file.php, upload-2-usb.php - Require exactly 1 USB stick to be inserted, allow same file name but different content (using incremental numbering), reject duplicate content, restrict file types

This commit is contained in:
avni 2025-01-12 12:04:47 +01:00
parent 956257f6cb
commit 30f940a5f4
6 changed files with 142 additions and 78 deletions

View file

@ -0,0 +1,16 @@
<?php
/*
* error.php
* Upload2USB App error
*/
?>
AN ERROR occurred! Please make sure <span style="color:red; font-weight:bold"> one and ONLY one </span>(no more, no less) removable USB stick is plugged into your Internet-in-a-Box. <!-- Also make sure the <span style="color:red; font-weight:bold;">usb_lib_umask0000_for_kolibri</span> parameter in your IIAB configuration file is set to True. --> Reach out to TK for help if you have any questions or continue having trouble with the setup.
<br/><br/>
Share the below error message with IIAB developers at TK for debugging:
<pre><?php if (isset($exception)) {echo (string)$exception;} ?></pre>