print.php 460 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * 打印机配置
  4. */
  5. define('IN_SYS', true);
  6. require '../framework/bootstrap.inc.php';
  7. header('Content-Type: text/html; charset=GBK');
  8. $site = WeUtility::createModuleSite('weisrc_dish');
  9. if(!is_error($site)) {
  10. $method = 'dowebprint';
  11. $site->uniacid = $_W['uniacid'];
  12. $site->inMobile = false;
  13. if (method_exists($site, $method)) {
  14. exit($site->$method());
  15. }
  16. } else {
  17. echo 'page is error';
  18. }
  19. exit("访问的方法 {$method} 不存在.");