Update common.php

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

View File

@ -138,7 +138,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';
if (getConfig('Drive_ver')=='MS') { if (getConfig('Drive_ver')=='MS') {
// MS // MS
// https://portal.azure.com // https://portal.azure.com