That is how mIRC used to work. It was changed in 2007 to comply with Windows requirements that applications store their data in the application data folder.

If you want to store all files in one mIRC folder, you will need to use the portable option in the installer and install mIRC to your Documents folder or some other folder that allows write access.