From 4a9d8c72c8839ca83307bde09f04b329f8436697 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Sun, 9 Apr 2023 14:57:18 +0800 Subject: [PATCH] modify custom client_secret --- common.php | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/common.php b/common.php index 33fe9c0..256b282 100644 --- a/common.php +++ b/common.php @@ -66,8 +66,8 @@ $EnvConfigs = [ 'guestup_path' => 0b0111, 'domainforproxy' => 0b0111, 'public_path' => 0b0111, - 'fileConduitSize' => 0b110, - 'fileConduitCacheTime' => 0b110, + 'fileConduitSize' => 0b0110, + 'fileConduitCacheTime' => 0b0110, ]; $timezones = array( @@ -1425,7 +1425,7 @@ function EnvOpt($needUpdate = 0) if (isset($_POST['submit1'])) if (compareadminmd5('admin', getConfig('admin'), $_COOKIE['admin'], $_POST['_admin'])) { $_SERVER['disk_oprating'] = ''; foreach ($_POST as $k => $v) { - if (isShowedEnv($k) || $k=='disktag_del' || $k=='disktag_add' || $k=='disktag_rename' || $k=='disktag_copy') { + if (isShowedEnv($k) || $k=='disktag_del' || $k=='disktag_add' || $k=='disktag_rename' || $k=='disktag_copy' || $k=='client_secret') { $tmp[$k] = $v; } if ($k=='disktag_newname') { @@ -1690,6 +1690,9 @@ output: +