updates.php 292 B

1234567891011121314
  1. <?php
  2. // Defines
  3. define('ROOT_DIR', realpath(dirname(__FILE__)) .'/');
  4. define('APP_DIR', ROOT_DIR .'application/');
  5. // Includes
  6. require(APP_DIR .'config/config.php');
  7. require(ROOT_DIR .'application/helpers/updater.php');
  8. //Check for updates
  9. $result = updater::check();
  10. echo $result;
  11. die();