$CFG->admin = 'admin'; to another value? Thanks Carol
No, $CFG->admin controls the URL used to access what is normally http://example.com/moodle/admin/...
If you want to move the admin pages to a URL like http://example.com/moodle/maintenance/..., then set $CFG->admin = 'maintenance'.
If you want to move the admin pages to a URL like http://example.com/moodle/maintenance/..., then set $CFG->admin = 'maintenance'.
I have a similar question. Recently my admin account was hijacked and I was unable to login to the Administrator's Control Panel. Where do I change my userid so that instead of admin, it is kittycat or some such name? Just in my user profile? I assume that changing my user profile will automatically update the database? From the response here, I also assume that I don't have to make any changes to the config.php?
Thanks in advance for your help!