Removed $path as realpath will always return false because of a non existing file. Also corrected path to the sample config file.