r4134 Ability to conditional include of gateways.php from within functions
authorAlexey Andriyanov <alan@al-an.info>
Fri, 14 Jan 2011 17:26:06 +0000 (17:26 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Fri, 14 Jan 2011 17:26:06 +0000 (17:26 +0000)
added explicit global definitions for globals in gateways.php

inc/gateways.php

index 62b606c..504847c 100644 (file)
@@ -14,6 +14,7 @@
 */
 
 // translating functions maps
+global $gwrxlator;
 $gwrxlator = array();
 $gwrxlator['getcdpstatus'] = array
 (
@@ -53,6 +54,7 @@ $gwrxlator['getmaclist'] = array
 
 $gwrxlator['gethndp']['vrp53'] = 'vrp53ReadHNDPStatus';
 
+global $gwpushxlator;
 $gwpushxlator = array
 (
        'ios12' => 'ios12TranslatePushQueue',