[NANOHUB][#265717][PLG_SYSTEM_HUBZERO] only call apache_note() if running from apache php sapi
[NANOHUB][#265717][PLG_SYSTEM_HUBZERO] only call apache_note() if running from apache php sapi

zweidner/hubzero-cms,zooley/hubzero-cms,zweidner/hubzero-cms,zweidner/hubzero-cms,anthonyfuentes/hubzero-cms,zweidner/hubzero-cms,zooley/hubzero-cms,zooley/hubzero-cms,anthonyfuentes/hubzero-cms,anthonyfuentes/hubzero-cms,anthonyfuentes/hubzero-cms,zooley/hubzero-cms