Prevent PHP errors due to inexisting files