cloud_union.php 563 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * [Discuz!] (C)2001-2099 Comsenz Inc.
  4. * This is NOT a freeware, use is subject to license terms
  5. *
  6. * $Id: cloud_union.php 29273 2012-03-31 07:58:50Z yexinhao $
  7. */
  8. if(!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) {
  9. exit('Access Denied');
  10. }
  11. if(!$_G['inajax']) {
  12. cpheader();
  13. shownav('navcloud', 'cloud_stats');
  14. }
  15. $unionDomain = 'http://union.discuz.qq.com';
  16. $utilService = Cloud::loadClass('Service_Util');
  17. $signUrl = $utilService->generateSiteSignUrl();
  18. $utilService->redirect($unionDomain . '/site/application/?' . $signUrl);