index.php 737 B

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