live_updates.php 523 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  4. * CC-BY License - http://creativecommons.org/licenses/by/3.0/
  5. *
  6. * @defgroup TridentCore Trident Core
  7. * @{
  8. */
  9. require_once('./inc/header.inc.php');
  10. require_once(BX_DIRECTORY_PATH_INC . "design.inc.php");
  11. bx_import('BxDolLiveUpdates');
  12. $oLiveUpdates = BxDolLiveUpdates::getInstance();
  13. if($oLiveUpdates) {
  14. $aResult = $oLiveUpdates->perform();
  15. header('Content-type: text/html; charset=utf-8');
  16. echo json_encode($aResult);
  17. }
  18. /** @} */