checking to see if we are running under drush?
Posted by tolland76 on February 9, 2010 at 6:36pm
Hi,
I had been using firePHP debugging in some of my install scripts and now I am using drush I am seeing some problems with headers like;
"Cannot send log data to FirePHP. You must have Output Buffering enabled via ob_start() or output_buffering ini directive."
so I want to wrap my debugging function to check that its the browser or drush, is there a good strategy to do that??
Thanks,
Tom
Read more