Makes things a little tidier and easier to change in the future, a custom message can be passed to authenticateUser() and this is output if the authentication fails.
Added protection around Include and Exclude species pages as these still accessible & data can still be written to include and exclude species.txt even with a password.
Include and Exclude list updated to use the calculated path to their respective x_species_list.txt files
Move play.php over to also use the new calculated paths to disk_check_exclude
Spectrogram.php remove unused code & replace setting save code with new function
Stats.php removed old code, update paths to use calculated path.
Rename setSetting func to saveSetting
Remove old code from other pages
The timezone in the PHP INI file could differ from the timezone set on the system itself and result incorrect time display on webpages and wherever date functions are used.
Simple fix to read the systems timezone and make PHP use the correct one.
This should add a link to all the recordings, so you can copy and share with a friend, or save somewhere.
There's better ways some of this can be done, but it works for now.
(please test this! not sure if I copied all the right files to git)
I was investigating why the top nav hamburger button didn't work on mobile when you were on system info, log, or streamlit page, and discovered the iframes didn't have closing tags!
Also note to self: don't run random git commands you find on stackoverflow -- my birds.db was erased :((( (doing a cron backup every day now!)