3
Best thing is to upload fresh copies of the files you changed so it is back to normal (make sure you actually overwrite the changed files). Then carefully make any changes and be ready to get back to normal.
cPanel isn't the best way to edit files. It leaves blank lines after the closing php tag and that can casue problems sometimes. A local edit app and FTP is more reliable.