Hi,

I'm working on a project at the moment which involves osTicket, and I'm currently utilizing the storage-fs plugin to allow attachments on tickets to be stored on the file system. The issue is that they're stored in sub-directories named after the first letter of a key that is assigned to each config file, and I would like them to all be stored in the top level directory that I choose in the osTicket interface when configuring the plugin, I'm not great with PHP and I've tried my hand at making changes to the plugin but not only am I having a dificult time understanding the code, but I'm also having a lot of trouble even testing whether the plugin works or not on my machine. If anyone could help me figure out either how to more effectively test the changes I'm making to the plugin, or offer help in tweaking it that would be much appreciated!

Link to plugin: https://github.com/osTicket/osTicket-plugins/blob/develop/storage-fs/storage.php

Write a Reply...