From 7fdde82f43705cabeffd339dfc2b44a9c7729e62 Mon Sep 17 00:00:00 2001
From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com>
Date: Mon, 17 Feb 2020 03:19:55 -0600
Subject: [PATCH] Add files via upload
---
function/common.php | 12 ++++++
function/normal.php | 89 +++++++++++++++++++++++++++++----------------
function/scf.php | 12 +-----
3 files changed, 71 insertions(+), 42 deletions(-)
diff --git a/function/common.php b/function/common.php
index 12b62d1..8584785 100644
--- a/function/common.php
+++ b/function/common.php
@@ -1,5 +1,17 @@
';
$html .= '
';
}
- if (getConfig('SecretId')==''||getConfig('SecretKey')=='') $html .= '
- '.getconstStr('Create').' SecretId & SecretKey
-
-
';
$html .= '
';
$html .= '
@@ -280,17 +286,7 @@ language:
';
if (t.admin.value==\'\') {
alert(\'input admin\');
return false;
- }';
- if (getConfig('SecretId')==''||getConfig('SecretKey')=='') $html .= '
- if (t.SecretId.value==\'\') {
- alert(\'input SecretId\');
- return false;
}
- if (t.SecretKey.value==\'\') {
- alert(\'input SecretKey\');
- return false;
- }';
- $html .= '
return true;
}
';
@@ -326,13 +322,10 @@ function RewriteEngineOn()
function EnvOpt($function_name, $needUpdate = 0)
{
global $constStr;
- $constEnv = [
- //'admin',
- 'adminloginpage', 'domain_path', 'guestup_path', 'passfile',
- //'private_path',
- 'public_path', 'sitename', 'language', 'theme'
- ];
- asort($constEnv);
+ global $commonEnv;
+ global $innerEnv;
+ asort($commonEnv);
+ asort($innerEnv);
$html = '
'.$disktag.': + + + | +|
+ | + |