Hi there,
This seems like a very simple problem to fix. From your description, it looks like you have access to the files on the server?
Does that mean you're hosted on a VPS or something of the sorts, where you can provide shell access? If that is the case, then it's an easy fix.
Otherwise, we would have to think of a different way.
Looking forward to hearing from you so we can fix this.
Best regards,
Stan