Custom Hook for CMD_API_EXEC: api_exec_pre.sh

Version 1.62.8

Bugfix
Finished

Custom hook for CMD_API_EXEC: /usr/local/directadmin/scripts/custom/api_exec_pre/yourhook.sh Needed because the all_pre.sh $command is filled with /CMD_API_EXEC, but the POSTed command= value contains the binary call. Thus the all_pre.sh has no way of knowing what the POSTed command is, as it's always filled with /CMD_API_EXEC ---- T34589

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