人人商城

checkupgrade.ctrl.php 626B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. defined('IN_IA') or exit('Access Denied');
  7. load()->model('cloud');
  8. load()->func('communication');
  9. $do = !empty($_GPC['do']) && in_array($do, array('module', 'system')) ? $_GPC['do'] : exit('Access Denied');
  10. $result = cloud_prepare();
  11. if (is_error($result)) {
  12. message($result['message'], '', 'ajax');
  13. }
  14. if ($do == 'module') {
  15. $info = cloud_m_info(trim($_GPC['m']));
  16. if (is_error($info) && $info['errno'] == -10) {
  17. message($info, '', 'ajax');
  18. }
  19. }