multienvy.php 465 B

12345678910111213141516
  1. <?php
  2. if (ubRouting::get('action') == 'multienvy') {
  3. if ($alterconf['ENVY_ENABLED'] AND $alterconf['MULTI_ENVY_PROC']) {
  4. if (ubRouting::checkGet('devid')) {
  5. $devId = ubRouting::get('devid', 'int');
  6. $envy = new Envy();
  7. $envy->procStoreArchiveData($devId);
  8. die('OK:MULTI_ENVY_PROC');
  9. } else {
  10. die('ERROR:NO_DEVID');
  11. }
  12. } else {
  13. die('ERROR:ENVY DISABLED');
  14. }
  15. }