thomasjacquin / allsky-portal

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

Centralize code add placeholders #66

Closed EricClaeys closed 3 years ago

EricClaeys commented 3 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 3 years ago

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