Fixing issue where if the frontend was disabled check_lock would prevent the CMS from being accessible where frontend config needed; refactoring method that just needed paths and added in a message to indicate site being updated.