Use db_query instead of calling PDO directly, reformatting
Challenges flag form is now textarea instead of inputbox
Use db_query instead of calling PDO directly
Separate CONFIG_PATH_FILE_WRITABLE value
Added orderBy to db_select function
New check to see if writable directory is writable