live_updates.php 456 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup UnaCore UNA Core
  7. * @{
  8. */
  9. require_once('./inc/header.inc.php');
  10. require_once(BX_DIRECTORY_PATH_INC . "design.inc.php");
  11. $oLiveUpdates = BxDolLiveUpdates::getInstance();
  12. if($oLiveUpdates) {
  13. $aResult = $oLiveUpdates->perform();
  14. header('Content-type: text/html; charset=utf-8');
  15. echo json_encode($aResult);
  16. }
  17. /** @} */