Pass $created_by variable to domain_create_pre.sh / post.sh

Version 1.51.4

Feature
Finished

New variable passed to custom scripts: /usr/local/directadmin/scripts/custom/domain_create_pre.sh /usr/local/directadmin/scripts/custom/domain_create_post.sh created_by=0|1|2|3|4 which is the default, set to 0 when a domain is created by the User. List of options: 0: domain is created with the User, by the Admin or Reseller creator (see creator variable to see who) 1: domain is created by the User via the additional domains section 2: domain is created by the User, via a User Level restore 3: domain is created by Reseller Level restore 4: domain is created by an Admin Level restore Also added extra variables to the same scripts: skip_template=0|1 - specifies if the index.html is to be omitted from the domain creation. Set to 1 if the domain already existed or the domains directory is to be restored. user_creation=0|1 - specifies if the domain creation is happening at the same time this User is being created.

Try DirectAdmin with a 30-day money back guarantee!