newChange File writing to handle full partitions
If a partition/disk is full, any files that are written will end up being empty. The fix for this is to always write to a temp file, check that file for success, then moving the file overtop of the desired file to be written. This ensures that a full harddrive doesn't cause important files to become empty.
newAbility to specify the skin for demo accounts
The default behaviour for demo accounts it to use the default skin. This feature will allow admins to specify which skin the demo account will use. Setting of the skin will be done in the Admin Settings screen.
Although you can set the path to anywhere on the server, it is advised you use the local path from /usr/local/directadmin. IE: say the skin is in /home/name/skins/skinname, you would then use: ../../../home/name/skins/skinname. But it's more recommended that you put the demo skin in the regular system skins directory (/usr/local/directadmin/data/skins/sknname) It won't be overwritten if it isn't called default or power_user.
<input type=text name=demodocsroot value="|DEMODOCSROOT|" size=32>
fixedAutomatic email notification of usage with invalid values
Bugfix to correct the percentages emailed to users.
fixedAccounting during User creation
Fixed a few accounting errors when Users are created. Now it will increase and decreased reseller values upon user creation/deletion, without having to wait for the nightly tally to recount the data. Also added more checks to make sure that Reseller can't add more Users than they have domains. In other words, the maximum number of domains will limit the number of Users a Reseller can create. Whichever hits the max number of domains, the number of domains or number of Users, will prevent the Reseller from creating any more.
fixedTicket system time fix
The localtime function returns days from 1-31 and months from 0-11, so the months that were used were off by 1. Fixed.