vid.php 657 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. defined('IN_PHPCMS') or exit('No permission resources.');
  3. /**
  4. *
  5. * ------------------------------------------
  6. * check_vid
  7. * ------------------------------------------
  8. * @package PHPCMS V9.1.16
  9. * @author 陈学旺
  10. * @copyright CopyRight (c) 2006-2012 上海盛大网络发展有限公司
  11. *
  12. */
  13. class vid {
  14. public function __construct() {
  15. pc_base::load_app_class('ku6api', 'video', 0);
  16. $this->setting = getcache('video', 'video');
  17. $this->ku6api = new ku6api($this->setting['sn'], $this->setting['skey']);
  18. }
  19. /**
  20. *
  21. * 添加vid
  22. */
  23. public function check () {
  24. $vid = $_GET['vid'];
  25. $this->ku6api->check($vid);
  26. }
  27. }