xbar
xbar copied to clipboard
PHP plug-ins disappear and reappear every 5 seconds
A user of my Linode plug-in reported this to me and I see it happens with even the simplest php plug-in. It also happens with the few other php plug-ins I've found in the plug-in browser. Is this only happening for me?
Try this to see:
#!/usr/bin/php
<?php
echo 'PHP';
@misfitius I wonder if this is because the script takes a while to spin up and run? It should only happen the first time because xbar doesn't update the menu until the script has finished running.
I had the same problem with all my PHP scripts. If you remove the blank line between the #!/usr/bin/php (shebang) and <?php, it works.