Hello,
I am making a plugin and I want to run a command with php shell_exec when the plugin index.html opens, but I could not succeed.
URL: /admin/plugins/customPlugin?path=index.html
index.html;
#!/usr/local/bin/php -n
<?php
echo shell_exec('sh /scripts/startCode');
I am making a plugin and I want to run a command with php shell_exec when the plugin index.html opens, but I could not succeed.
URL: /admin/plugins/customPlugin?path=index.html
index.html;
#!/usr/local/bin/php -n
<?php
echo shell_exec('sh /scripts/startCode');