Added subdomain check function
Switched up favicon function to change based on admin AND subdomain.
Updated functions for PHP warnings.