Editing Sitewide title via site.php ????

Permalink
Even though I changed the site title in the 'stacks' section of the dashboard, the title continued to display in the footer and the login page as "Site Title" instead of the text I had entered (ILearnedItAll)(which displayed just fine in the header). So, I went to site.php in config and just did this

define('SITE', 'ILearnedItAll');

Is that a problem?

Is it the right place to be making that definition?

 
Adreco replied on at Permalink Reply
Adreco
Did you change your site name at Dashboard > Systems & Settings > Basics > Site Name ?
wclark07 replied on at Permalink Reply
Just did, and the site name I put in via code was already present, although I have never been there and didn't know that section of the dashboard existed. Now I will explore it. Thank you, thank you, thank you. I will now go back and delete the code I added. But just for the sake of learning. What would be the problem with doing what I did (as it is clearly not the right way?) Where is the SITE constant defined to begin with?