filemanager_pre.sh

Version 1.49

Feature
Finished

Custom script: /usr/local/directadmin/scripts/custom/filemanager_pre.sh to be called before DA runs anything from: CMD_FILE_MANAGER CMD_API_FILE_MANAGER All GET/POST variables are passed via environment. path will also be set accordingly, and api=0|1 if you need to figure out if it was CMD_API or CMD_ that was called. Saves needing to use all_pre.sh for filemanager related blocks. Related: http://help.directadmin.com/item.php?id=166 There is no filemanager_post.sh, because DA will be chrooted, and cannot see scripts once chrooted to /home/user.

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