thomasjacquin / allsky-portal

A simple, responsive web interface to control an allsky camera connected to a Raspberry Pi
GNU General Public License v3.0
34 stars 22 forks source link

Centralize code add placeholders #66

Closed EricClaeys closed 2 years ago

EricClaeys commented 2 years ago

Centralize code that sets many constants and variables into functions.php to aid in code maintenance. Replace hard-coded "/home/pi/allsky" with placeholders that are updated by "allsky/gui/install.sh". Added is_valid_directory() to validate a directory name is valid. Perform additional error checking.

ckuethe commented 2 years ago

this needs to be resynced with #63; there's a merge conflict