psolom / RichFilemanager

An open-source file manager. Up-to-date for PHP, Java, ASHX, ASP, NodeJs & Python 3 Flask. Contributions are welcome!
http://fm.devale.pro
906 stars 251 forks source link

Cannot hook on Rename #390

Open Gregorif opened 5 years ago

Gregorif commented 5 years ago

In raising this issue, I confirm the following (please check boxes):

I use the following server-side connector (check one):

My familiarity with the project is as follows (check one):


Hi Needing to implement a PHP script to occur when a file is renamed through RichFileManager, I tackled the documentation and list of known issues, but have not been able to find an exact correspondance to my need.

Does the ability to hook a "afterRenameItem" exists, and I was unable to find it ? If this does not exist, is there another way to do it, like including the PHP script at some point of the API (which I tried, putting it on line 240 of LocalApi.php, without any success)

Thank you for your time