Demo accounts using demo docsroot but not skin value

Version 1.61.0

Bugfix
Finished

Bug where a demo login is correctly setting the "docsroot" value for the demo skin, however the internally loaded "skin=" variable was not being set to the skin name from the demodocsroot variable. If you had the docsroot and demodocsroot both set to the same value, you would not likely be affected, but if you have enhanced for docsroot and evo for demodocsroot, the default "skin" value would have ended up as "enhanced" using the evolution path. Fix: while loading the default demo variables, also fill the "skin=" variable based on the demodocsroot value.

Interested to try DirectAdmin? Get a 30-day Free Trial!