You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
570 B

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. <?php
  2. /*
  3. * @copyright Leyun internet Technology(Shanghai)Co.,Ltd
  4. * @license http://www.dzzoffice.com/licenses/license.txt
  5. * @package DzzOffice
  6. * @link http://www.dzzoffice.com
  7. * @author zyx(zyx@dzz.cc)
  8. */
  9. define('APPTYPEID', 9);
  10. define('CURSCRIPT', 'dzz');
  11. define('DZZSCRIPT', 'index.php');
  12. require __DIR__ . '/core/coreBase.php';
  13. $dzz = C::app();
  14. $dzz->cachelist = array();
  15. $dzz->init();
  16. session_start();
  17. $_GET['state'] = $_SESSION['onedrive.oauth.state']['state'];
  18. $bz = $_SESSION['onedrive.oauth.state']['bz'];
  19. IO::authorize($bz);
  20. exit();