PHP - exec function - any workaround?


My hosting are applying me some restrictions. They don’t let me call the command ‘tar’ via exec function. The ‘tar’ function is called when I want to install any plugin.
This piece of code can be found in this file: /lib/pkp/classes/plugins/ on line 63

Can I change this function? Exists any alternative or workaround?



You can unpack plugins and copy to the plugins folder manually (if you have ftp access). Most plugins lie inside plugins/generic folder and themes - plugins/themes. Although, it is better to check plugin’s class first.