Ejemplo n.º 1
0
         }
         //Megogo schedule processing
         if ($_GET['action'] == 'mgqueue') {
             if ($alterconf['MG_ENABLED']) {
                 $mgIface = new MegogoInterface();
                 $mgQueueProcessingResult = $mgIface->scheduleProcessing();
                 die($mgQueueProcessingResult);
             } else {
                 die('ERROR: MEGOGO DISABLED');
             }
         }
         //Megogo fee processing (monthly)
         if ($_GET['action'] == 'mgprocessing') {
             if ($alterconf['MG_ENABLED']) {
                 $mgIface = new MegogoInterface();
                 $mgFeeProcessingResult = $mgIface->subscriptionFeeProcessing();
                 die($mgFeeProcessingResult);
             } else {
                 die('ERROR: MEGOGO DISABLED');
             }
         }
         ////
         //// End of actions
         ////
         /*
          * Exeptions handling
          */
     } else {
         die('ERROR:GET_NO_ACTION');
     }
 } else {