Admin/Reseller creation to set correct "skin" based on "docroots"

Version 1.45.1

Bugfix
Finished

Both Admins and Reseller don't have a "Skin" selection option in their packages or during their creation. The skin choice only applies to Users. The logic is that both Admins and Reseller can change their own skin, and as such will get whatever the "docsroot" is set to, in the directadmin.conf. They can change it later if they wish. The bug was that, although the docsroot was correctly set in the user.conf file, the "skin" variable was hardcoded to "enhanced", which wouldn't match the skin if the docsroot was changed. Fix was to simply figure out the skin name based on the docsroot path, and set accordingly.

Try DirectAdmin with a 30-day money back guarantee!