Version 1.24.1

Released: 2005-05-09

CMD_API_DOMAIN - domain api functions new

The commands are exactly the same as the CMD_DOMAIN functions, so you can use the skins for a reference.

/CMD_API_DOMAIN

Sets the default domain for a user account (~username -> public_html)

default=anytext
action=select
select0=domain.com

Create a domain

action=create
domain=domain.com
bandwidth=1234   or   ubandwidth=unlimited
quota=1234      or      uquota=unlimited
ssl=ON or OFF
cgi=ON or OFF
php=ON or OFF

Modify a domain

action=modify
domain=domain.com
bandwidth=1234   or   ubandwidth=unlimited
quota=1234      or      uquota=unlimited
ssl=ON or OFF
cgi=ON or OFF
php=ON or OFF

Delete a domain:

delete=anything
confirmed=anything
select0=domain.com

domain_change_pre/post.sh new

Use domain_change_pre/post.sh, specified here in 1.23.2:

custom script for renaming domain

Email filter segfaults fixed

when a filter is removed, DA "cleans" the filter file to setup 1 filter per numeric value. (eg, 0=filterinfo). The new value "action" wasn't taken into account, thus DA tries to read it as a number.

random passwords seed fixed

added a seed for the random password generator for the "resend email" with the "new random password" checked.

Last Updated: