index.php 621 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * 队列
  4. *
  5. *
  6. * by abc www.abc.com 二次开发修正版本
  7. */
  8. define('APP_ID','queue');
  9. define('BASE_PATH',str_replace('\\','/',dirname(__FILE__)));
  10. if (!@include(dirname(dirname(__FILE__)).'/global.php')) exit('global.php isn\'t exists!');
  11. if (!@include(BASE_CORE_PATH.'/33hao.php')) exit('33hao.php isn\'t exists!');
  12. if (empty($_SERVER['argv'][1]) || empty($_SERVER['argv'][2])) exit('parameter error');
  13. $_GET['act'] = $_SERVER['argv'][1];
  14. $_GET['op'] = $_SERVER['argv'][2];
  15. if (!@include(BASE_PATH.'/control/control.php')) exit('control.php isn\'t exists!');
  16. Base::run();
  17. ?>