diff --git a/common.php b/common.php index 7290ad0..d78518e 100644 --- a/common.php +++ b/common.php @@ -40,21 +40,22 @@ $EnvConfigs = [ 'Driver' => 0b100, 'client_id' => 0b100, 'client_secret' => 0b101, - 'diskname' => 0b111, - 'domain_path' => 0b111, - 'downloadencrypt' => 0b110, - 'guestup_path' => 0b111, 'sharepointSite' => 0b101, 'shareurl' => 0b101, //'sharecookie' => 0b101, 'shareapiurl' => 0b101, 'siteid' => 0b100, - 'domainforproxy' => 0b111, - 'public_path' => 0b111, 'refresh_token' => 0b100, 'token_expires' => 0b100, 'default_drive_id' => 0b100, 'default_sbox_drive_id'=> 0b100, + + 'diskname' => 0b111, + 'domain_path' => 0b111, + 'downloadencrypt' => 0b110, + 'guestup_path' => 0b111, + 'domainforproxy' => 0b111, + 'public_path' => 0b111, ]; $timezones = array( @@ -1078,7 +1079,7 @@ function EnvOpt($needUpdate = 0) if (isset($_POST['submit1'])) { $_SERVER['disk_oprating'] = ''; foreach ($_POST as $k => $v) { - if (isShowedEnv($k) || $k=='disktag_del' || $k=='disktag_add' || $k=='disktag_rename') { + if (isShowedEnv($k) || $k=='disktag_del' || $k=='disktag_add' || $k=='disktag_rename' || $k=='disktag_copy') { $tmp[$k] = $v; } if ($k=='disktag_newname') { @@ -1275,7 +1276,7 @@ function EnvOpt($needUpdate = 0)
- @@ -1286,12 +1287,16 @@ function EnvOpt($needUpdate = 0) + | |
Driver | ' . getConfig('Driver', $disktag); - if (baseclassofdrive($disk_tmp)=='Onedrive') $html .= ' Change Driver type' . getconstStr(' ') . ''; + if ($diskok && baseclassofdrive($disk_tmp)=='Onedrive') $html .= ' ' . getconstStr('ChangeOnedrivetype') . ''; $html .= ' |