Update common.php

pull/98/head
Mr.Lin 2020-03-26 14:13:37 +08:00 committed by GitHub
parent b7de303f3a
commit a1b8e0b693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,8 @@ function config_oauth()
$_SERVER['sitename'] = getConfig('sitename'); $_SERVER['sitename'] = getConfig('sitename');
if (empty($_SERVER['sitename'])) $_SERVER['sitename'] = getconstStr('defaultSitename'); if (empty($_SERVER['sitename'])) $_SERVER['sitename'] = getconstStr('defaultSitename');
//$_SERVER['redirect_uri'] = 'https://scfonedrive.github.io'; //$_SERVER['redirect_uri'] = 'https://scfonedrive.github.io';
$_SERVER['redirect_uri'] = 'https://git.ldxw.vip/scfone'; //$_SERVER['redirect_uri'] = 'https://git.ldxw.vip/scfone';
$_SERVER['redirect_uri'] = 'https://scfone.ldxw.vip';
if (getConfig('Drive_ver')=='MS') { if (getConfig('Drive_ver')=='MS') {
// MS // MS
// https://portal.azure.com // https://portal.azure.com