Alfresco Triggers are hardcoded to look for 'Sites' folder as the main root folder.

Was added $dir like the parameter who receives the path for the files upload and download from Alfresco Server.

To prove, must create a proces with the 'UploadDoc' and 'DownloadDoc' functions.