var $evtype = ''; // any notification...
// this script should only handle EMAIL notifications..
-
+
+ var $server_id;
+
+
var $opts;
var $force = false;
function getAuth()
var $queue = array();
var $domain_queue = array(); // false to use nextquee
var $next_queue = array();
- var $server_id;
+
function get($r,$opts=array())
{
$ff = HTML_FlexyFramework::get();
- if (!empty($ff->Core_Notify['servers'])) {
+ if (!empty($ff->Core_Notify['servers']) && empty($ff->Core_Notify['servers-non-pool'][gethostname()])) {
+
if (!isset($ff->Core_Notify['servers'][gethostname()])) {
$this->jerr("Core_Notify['servers']['" . gethostname() ."'] is not set");
}
return;
}
+ if (isset($ff->Core_Notify['servers-non-pool'][gethostname()])) {
+ return;
+ }
+
if (!isset($ff->Core_Notify['servers'][gethostname()])) {
+
$this->jerr("Core_Notify['servers']['" . gethostname() ."'] is not set");
}
// only run this on the main server...