From 657a2d964132afdc8970030354e9290e046d9552 Mon Sep 17 00:00:00 2001
From: warlee <824691958@qq.com>
Date: Mon, 9 Oct 2017 16:24:01 +0800
Subject: [PATCH] version 4.23 release
---
ChangeLog.md | 15 +
app/api/sso.class.php | 17 +-
app/controller/editor.class.php | 3 +
app/controller/explorer.class.php | 4 +-
app/controller/share.class.php | 16 +-
app/controller/util.php | 4 +-
app/function/helper.function.php | 2 +
app/function/web.function.php | 22 +-
app/kod/.cache_data | 4 +-
app/update.php | 4 +-
config/config.php | 102 ---
config/i18n/ar/about.html | 33 -
config/i18n/ar/edit.html | 72 ---
config/i18n/ar/help.html | 36 --
config/i18n/ar/main.php | 770 -----------------------
config/i18n/bg/about.html | 33 -
config/i18n/bg/edit.html | 72 ---
config/i18n/bg/help.html | 36 --
config/i18n/bg/main.php | 770 -----------------------
config/i18n/bn/about.html | Bin 7935 -> 0 bytes
config/i18n/bn/edit.html | 72 ---
config/i18n/bn/help.html | 36 --
config/i18n/bn/main.php | 770 -----------------------
config/i18n/ca/about.html | 33 -
config/i18n/ca/edit.html | 72 ---
config/i18n/ca/help.html | 36 --
config/i18n/ca/main.php | 770 -----------------------
config/i18n/cs/about.html | 33 -
config/i18n/cs/edit.html | 72 ---
config/i18n/cs/help.html | 36 --
config/i18n/cs/main.php | Bin 54108 -> 0 bytes
config/i18n/da/about.html | 33 -
config/i18n/da/edit.html | 72 ---
config/i18n/da/help.html | 36 --
config/i18n/da/main.php | Bin 52438 -> 0 bytes
config/i18n/de/about.html | Bin 3903 -> 0 bytes
config/i18n/de/edit.html | 73 ---
config/i18n/de/help.html | 36 --
config/i18n/de/main.php | 770 -----------------------
config/i18n/el/about.html | 33 -
config/i18n/el/edit.html | 72 ---
config/i18n/el/help.html | 36 --
config/i18n/el/main.php | 770 -----------------------
config/i18n/en/about.html | 33 -
config/i18n/en/edit.html | 72 ---
config/i18n/en/help.html | 36 --
config/i18n/en/main.php | 770 -----------------------
config/i18n/es/about.html | 33 -
config/i18n/es/edit.html | 72 ---
config/i18n/es/help.html | 36 --
config/i18n/es/main.php | 770 -----------------------
config/i18n/et/about.html | 33 -
config/i18n/et/edit.html | 72 ---
config/i18n/et/help.html | 36 --
config/i18n/et/main.php | Bin 51789 -> 0 bytes
config/i18n/fa/about.html | 33 -
config/i18n/fa/edit.html | 72 ---
config/i18n/fa/help.html | 36 --
config/i18n/fa/main.php | 770 -----------------------
config/i18n/fi/about.html | 33 -
config/i18n/fi/edit.html | 72 ---
config/i18n/fi/help.html | 36 --
config/i18n/fi/main.php | Bin 53237 -> 0 bytes
config/i18n/fr/about.html | 33 -
config/i18n/fr/edit.html | 72 ---
config/i18n/fr/help.html | 36 --
config/i18n/fr/main.php | 770 -----------------------
config/i18n/gl/about.html | Bin 4021 -> 0 bytes
config/i18n/gl/edit.html | 72 ---
config/i18n/gl/help.html | 36 --
config/i18n/gl/main.php | Bin 54609 -> 0 bytes
config/i18n/hi/about.html | Bin 7724 -> 0 bytes
config/i18n/hi/edit.html | 72 ---
config/i18n/hi/help.html | 36 --
config/i18n/hi/main.php | 770 -----------------------
config/i18n/hr/about.html | 33 -
config/i18n/hr/edit.html | 72 ---
config/i18n/hr/help.html | 36 --
config/i18n/hr/main.php | Bin 53343 -> 0 bytes
config/i18n/hu/about.html | 33 -
config/i18n/hu/edit.html | 72 ---
config/i18n/hu/help.html | 36 --
config/i18n/hu/main.php | 770 -----------------------
config/i18n/id/about.html | 33 -
config/i18n/id/edit.html | 72 ---
config/i18n/id/help.html | 36 --
config/i18n/id/main.php | Bin 52644 -> 0 bytes
config/i18n/it/about.html | Bin 4068 -> 0 bytes
config/i18n/it/edit.html | 72 ---
config/i18n/it/help.html | 36 --
config/i18n/it/main.php | 770 -----------------------
config/i18n/ja/about.html | Bin 5014 -> 0 bytes
config/i18n/ja/edit.html | 72 ---
config/i18n/ja/help.html | 36 --
config/i18n/ja/main.php | 770 -----------------------
config/i18n/ko/about.html | Bin 3951 -> 0 bytes
config/i18n/ko/edit.html | 72 ---
config/i18n/ko/help.html | 36 --
config/i18n/ko/main.php | Bin 55363 -> 0 bytes
config/i18n/lt/about.html | 33 -
config/i18n/lt/edit.html | 72 ---
config/i18n/lt/help.html | 36 --
config/i18n/lt/main.php | 770 -----------------------
config/i18n/nl/about.html | 33 -
config/i18n/nl/edit.html | 72 ---
config/i18n/nl/help.html | 36 --
config/i18n/nl/main.php | Bin 53812 -> 0 bytes
config/i18n/no/about.html | 33 -
config/i18n/no/edit.html | 72 ---
config/i18n/no/help.html | 36 --
config/i18n/no/main.php | Bin 52500 -> 0 bytes
config/i18n/pl/about.html | 33 -
config/i18n/pl/edit.html | 72 ---
config/i18n/pl/help.html | 36 --
config/i18n/pl/main.php | Bin 54703 -> 0 bytes
config/i18n/pt/about.html | Bin 4063 -> 0 bytes
config/i18n/pt/edit.html | 72 ---
config/i18n/pt/help.html | 36 --
config/i18n/pt/main.php | 770 -----------------------
config/i18n/ro/about.html | 33 -
config/i18n/ro/edit.html | 72 ---
config/i18n/ro/help.html | 36 --
config/i18n/ro/main.php | 770 -----------------------
config/i18n/ru/about.html | 35 --
config/i18n/ru/edit.html | 73 ---
config/i18n/ru/help.html | 35 --
config/i18n/si/about.html | Bin 7679 -> 0 bytes
config/i18n/si/edit.html | 72 ---
config/i18n/si/help.html | 36 --
config/i18n/si/main.php | 770 -----------------------
config/i18n/sk/about.html | 33 -
config/i18n/sk/edit.html | 72 ---
config/i18n/sk/help.html | 36 --
config/i18n/sk/main.php | Bin 54358 -> 0 bytes
config/i18n/sl/about.html | 33 -
config/i18n/sl/edit.html | 72 ---
config/i18n/sl/help.html | 36 --
config/i18n/sl/main.php | Bin 52591 -> 0 bytes
config/i18n/sr/about.html | 33 -
config/i18n/sr/edit.html | 72 ---
config/i18n/sr/help.html | 36 --
config/i18n/sr/main.php | 770 -----------------------
config/i18n/sv/about.html | 33 -
config/i18n/sv/edit.html | 72 ---
config/i18n/sv/help.html | 36 --
config/i18n/sv/main.php | Bin 53149 -> 0 bytes
config/i18n/ta/about.html | Bin 8793 -> 0 bytes
config/i18n/ta/edit.html | 72 ---
config/i18n/ta/help.html | 36 --
config/i18n/ta/main.php | 770 -----------------------
config/i18n/th/about.html | 33 -
config/i18n/th/edit.html | 72 ---
config/i18n/th/help.html | 36 --
config/i18n/th/main.php | 770 -----------------------
config/i18n/tr/about.html | Bin 3704 -> 0 bytes
config/i18n/tr/edit.html | 72 ---
config/i18n/tr/help.html | 36 --
config/i18n/tr/main.php | Bin 53121 -> 0 bytes
config/i18n/uk/about.html | 33 -
config/i18n/uk/edit.html | 72 ---
config/i18n/uk/help.html | 36 --
config/i18n/uk/main.php | 770 -----------------------
config/i18n/uz/about.html | Bin 3693 -> 0 bytes
config/i18n/uz/edit.html | 72 ---
config/i18n/uz/help.html | 36 --
config/i18n/uz/main.php | Bin 53855 -> 0 bytes
config/i18n/vi/about.html | 33 -
config/i18n/vi/edit.html | 72 ---
config/i18n/vi/help.html | 36 --
config/i18n/vi/main.php | 770 -----------------------
config/i18n/zh-CN/about.html | 33 -
config/i18n/zh-CN/edit.html | 72 ---
config/i18n/zh-CN/help.html | 36 --
config/i18n/zh-CN/main.php | 770 -----------------------
config/i18n/zh-TW/about.html | 33 -
config/i18n/zh-TW/edit.html | 72 ---
config/i18n/zh-TW/help.html | 36 --
config/i18n/zh-TW/main.php | 770 -----------------------
config/setting.php | 229 -------
config/version.php | 2 -
data/system/system_role.php | 2 +-
plugins/VLCPlayer/app.php | 17 +
plugins/VLCPlayer/package.json | 38 ++
plugins/VLCPlayer/static/images/icon.png | Bin 0 -> 14935 bytes
plugins/VLCPlayer/static/main.js | 80 +++
plugins/adminer/adminer/index.php | 4 +-
plugins/adminer/package.json | 2 +-
plugins/yzOffice/app.php | 4 +-
static/js/app/src/api/view/main.js | 4 +-
static/js/app/src/app/main.js | 4 +-
static/js/app/src/desktop/main.js | 4 +-
static/js/app/src/edit/main.js | 6 +-
static/js/app/src/editor/main.js | 4 +-
static/js/app/src/explorer/main.js | 4 +-
static/js/app/src/explorerWap/main.js | 4 +-
static/js/app/src/plugins/main.js | 6 +-
static/js/app/src/plugins/tpl/main.js | 2 +-
static/js/app/src/setting/main.js | 8 +-
static/js/app/src/shareEditor/main.js | 6 +-
static/js/app/src/shareExplorer/main.js | 8 +-
static/js/app/src/shareIndex/main.js | 4 +-
static/js/app/src/user/main.js | 4 +-
static/js/lib/util.js | 3 +-
static/style/skin/alpha_image.css | 4 +-
static/style/skin/alpha_image_sky.css | 4 +-
static/style/skin/alpha_image_sun.css | 4 +-
static/style/skin/base/app_code_edit.css | 6 +-
static/style/skin/base/app_desktop.css | 6 +-
static/style/skin/base/app_editor.css | 6 +-
static/style/skin/base/app_explorer.css | 6 +-
static/style/skin/base/app_setting.css | 6 +-
static/style/skin/diy.css | 4 +-
static/style/skin/mac.css | 4 +-
static/style/skin/metro.css | 4 +-
static/style/skin/metro_green.css | 4 +-
static/style/skin/metro_orange.css | 4 +-
static/style/skin/metro_pink.css | 4 +-
static/style/skin/metro_purple.css | 4 +-
static/style/skin/win10.css | 4 +-
static/style/skin/win7.css | 4 +-
220 files changed, 279 insertions(+), 25220 deletions(-)
delete mode 100755 config/config.php
delete mode 100755 config/i18n/ar/about.html
delete mode 100755 config/i18n/ar/edit.html
delete mode 100755 config/i18n/ar/help.html
delete mode 100755 config/i18n/ar/main.php
delete mode 100755 config/i18n/bg/about.html
delete mode 100755 config/i18n/bg/edit.html
delete mode 100755 config/i18n/bg/help.html
delete mode 100755 config/i18n/bg/main.php
delete mode 100755 config/i18n/bn/about.html
delete mode 100755 config/i18n/bn/edit.html
delete mode 100755 config/i18n/bn/help.html
delete mode 100755 config/i18n/bn/main.php
delete mode 100755 config/i18n/ca/about.html
delete mode 100755 config/i18n/ca/edit.html
delete mode 100755 config/i18n/ca/help.html
delete mode 100755 config/i18n/ca/main.php
delete mode 100755 config/i18n/cs/about.html
delete mode 100755 config/i18n/cs/edit.html
delete mode 100755 config/i18n/cs/help.html
delete mode 100755 config/i18n/cs/main.php
delete mode 100755 config/i18n/da/about.html
delete mode 100755 config/i18n/da/edit.html
delete mode 100755 config/i18n/da/help.html
delete mode 100755 config/i18n/da/main.php
delete mode 100755 config/i18n/de/about.html
delete mode 100755 config/i18n/de/edit.html
delete mode 100755 config/i18n/de/help.html
delete mode 100755 config/i18n/de/main.php
delete mode 100755 config/i18n/el/about.html
delete mode 100755 config/i18n/el/edit.html
delete mode 100755 config/i18n/el/help.html
delete mode 100755 config/i18n/el/main.php
delete mode 100755 config/i18n/en/about.html
delete mode 100755 config/i18n/en/edit.html
delete mode 100755 config/i18n/en/help.html
delete mode 100755 config/i18n/en/main.php
delete mode 100755 config/i18n/es/about.html
delete mode 100755 config/i18n/es/edit.html
delete mode 100755 config/i18n/es/help.html
delete mode 100755 config/i18n/es/main.php
delete mode 100755 config/i18n/et/about.html
delete mode 100755 config/i18n/et/edit.html
delete mode 100755 config/i18n/et/help.html
delete mode 100755 config/i18n/et/main.php
delete mode 100755 config/i18n/fa/about.html
delete mode 100755 config/i18n/fa/edit.html
delete mode 100755 config/i18n/fa/help.html
delete mode 100755 config/i18n/fa/main.php
delete mode 100755 config/i18n/fi/about.html
delete mode 100755 config/i18n/fi/edit.html
delete mode 100755 config/i18n/fi/help.html
delete mode 100755 config/i18n/fi/main.php
delete mode 100755 config/i18n/fr/about.html
delete mode 100755 config/i18n/fr/edit.html
delete mode 100755 config/i18n/fr/help.html
delete mode 100755 config/i18n/fr/main.php
delete mode 100755 config/i18n/gl/about.html
delete mode 100755 config/i18n/gl/edit.html
delete mode 100755 config/i18n/gl/help.html
delete mode 100755 config/i18n/gl/main.php
delete mode 100755 config/i18n/hi/about.html
delete mode 100755 config/i18n/hi/edit.html
delete mode 100755 config/i18n/hi/help.html
delete mode 100755 config/i18n/hi/main.php
delete mode 100755 config/i18n/hr/about.html
delete mode 100755 config/i18n/hr/edit.html
delete mode 100755 config/i18n/hr/help.html
delete mode 100755 config/i18n/hr/main.php
delete mode 100755 config/i18n/hu/about.html
delete mode 100755 config/i18n/hu/edit.html
delete mode 100755 config/i18n/hu/help.html
delete mode 100755 config/i18n/hu/main.php
delete mode 100755 config/i18n/id/about.html
delete mode 100755 config/i18n/id/edit.html
delete mode 100755 config/i18n/id/help.html
delete mode 100755 config/i18n/id/main.php
delete mode 100755 config/i18n/it/about.html
delete mode 100755 config/i18n/it/edit.html
delete mode 100755 config/i18n/it/help.html
delete mode 100755 config/i18n/it/main.php
delete mode 100755 config/i18n/ja/about.html
delete mode 100755 config/i18n/ja/edit.html
delete mode 100755 config/i18n/ja/help.html
delete mode 100755 config/i18n/ja/main.php
delete mode 100755 config/i18n/ko/about.html
delete mode 100755 config/i18n/ko/edit.html
delete mode 100755 config/i18n/ko/help.html
delete mode 100755 config/i18n/ko/main.php
delete mode 100755 config/i18n/lt/about.html
delete mode 100755 config/i18n/lt/edit.html
delete mode 100755 config/i18n/lt/help.html
delete mode 100755 config/i18n/lt/main.php
delete mode 100755 config/i18n/nl/about.html
delete mode 100755 config/i18n/nl/edit.html
delete mode 100755 config/i18n/nl/help.html
delete mode 100755 config/i18n/nl/main.php
delete mode 100755 config/i18n/no/about.html
delete mode 100755 config/i18n/no/edit.html
delete mode 100755 config/i18n/no/help.html
delete mode 100755 config/i18n/no/main.php
delete mode 100755 config/i18n/pl/about.html
delete mode 100755 config/i18n/pl/edit.html
delete mode 100755 config/i18n/pl/help.html
delete mode 100755 config/i18n/pl/main.php
delete mode 100755 config/i18n/pt/about.html
delete mode 100755 config/i18n/pt/edit.html
delete mode 100755 config/i18n/pt/help.html
delete mode 100755 config/i18n/pt/main.php
delete mode 100755 config/i18n/ro/about.html
delete mode 100755 config/i18n/ro/edit.html
delete mode 100755 config/i18n/ro/help.html
delete mode 100755 config/i18n/ro/main.php
delete mode 100755 config/i18n/ru/about.html
delete mode 100755 config/i18n/ru/edit.html
delete mode 100755 config/i18n/ru/help.html
delete mode 100755 config/i18n/si/about.html
delete mode 100755 config/i18n/si/edit.html
delete mode 100755 config/i18n/si/help.html
delete mode 100755 config/i18n/si/main.php
delete mode 100755 config/i18n/sk/about.html
delete mode 100755 config/i18n/sk/edit.html
delete mode 100755 config/i18n/sk/help.html
delete mode 100755 config/i18n/sk/main.php
delete mode 100755 config/i18n/sl/about.html
delete mode 100755 config/i18n/sl/edit.html
delete mode 100755 config/i18n/sl/help.html
delete mode 100755 config/i18n/sl/main.php
delete mode 100755 config/i18n/sr/about.html
delete mode 100755 config/i18n/sr/edit.html
delete mode 100755 config/i18n/sr/help.html
delete mode 100755 config/i18n/sr/main.php
delete mode 100755 config/i18n/sv/about.html
delete mode 100755 config/i18n/sv/edit.html
delete mode 100755 config/i18n/sv/help.html
delete mode 100755 config/i18n/sv/main.php
delete mode 100755 config/i18n/ta/about.html
delete mode 100755 config/i18n/ta/edit.html
delete mode 100755 config/i18n/ta/help.html
delete mode 100755 config/i18n/ta/main.php
delete mode 100755 config/i18n/th/about.html
delete mode 100755 config/i18n/th/edit.html
delete mode 100755 config/i18n/th/help.html
delete mode 100755 config/i18n/th/main.php
delete mode 100755 config/i18n/tr/about.html
delete mode 100755 config/i18n/tr/edit.html
delete mode 100755 config/i18n/tr/help.html
delete mode 100755 config/i18n/tr/main.php
delete mode 100755 config/i18n/uk/about.html
delete mode 100755 config/i18n/uk/edit.html
delete mode 100755 config/i18n/uk/help.html
delete mode 100755 config/i18n/uk/main.php
delete mode 100755 config/i18n/uz/about.html
delete mode 100755 config/i18n/uz/edit.html
delete mode 100755 config/i18n/uz/help.html
delete mode 100755 config/i18n/uz/main.php
delete mode 100755 config/i18n/vi/about.html
delete mode 100755 config/i18n/vi/edit.html
delete mode 100755 config/i18n/vi/help.html
delete mode 100755 config/i18n/vi/main.php
delete mode 100755 config/i18n/zh-CN/about.html
delete mode 100755 config/i18n/zh-CN/edit.html
delete mode 100755 config/i18n/zh-CN/help.html
delete mode 100755 config/i18n/zh-CN/main.php
delete mode 100755 config/i18n/zh-TW/about.html
delete mode 100755 config/i18n/zh-TW/edit.html
delete mode 100755 config/i18n/zh-TW/help.html
delete mode 100755 config/i18n/zh-TW/main.php
delete mode 100755 config/setting.php
delete mode 100755 config/version.php
create mode 100755 plugins/VLCPlayer/app.php
create mode 100755 plugins/VLCPlayer/package.json
create mode 100755 plugins/VLCPlayer/static/images/icon.png
create mode 100755 plugins/VLCPlayer/static/main.js
diff --git a/ChangeLog.md b/ChangeLog.md
index fb097da..35f7723 100755
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,18 @@
+### ver4.23 `2017/10/9`
+-----
+#### update:
+- url获取服务器兼容性优化(sso部分使用)
+
+#### fix bug
+- 安全漏洞修复:文件越权读取、删除漏洞;getshell漏洞紧急修复
+- 服务器做了端口转发,url获取兼容性问题解决
+- 移动端优化:文件列表,展开操作时页面滚动问题;桌面宽度不足问题
+- 插件自动更新数据同步问题优化
+- 分享文件夹,编辑器打开页面,左侧文件夹展开目录异常问题;(没有上传权限==>不显示上传按钮)
+- 其他优化:错别字更正; 移动端编辑器输入法出不来问题;
+
+
+
### ver4.22 `2017/9/20`
-----
#### update:
diff --git a/app/api/sso.class.php b/app/api/sso.class.php
index 6530bdd..a6e160a 100755
--- a/app/api/sso.class.php
+++ b/app/api/sso.class.php
@@ -1,6 +1,7 @@
in['path']));
+ $path = get_path_this(_DIR_CLEAR($this->in['path']));
$path = iconv_system(USER_TEMP.$path);
file_put_out($path,true);
-
+
Hook::trigger("explorer.pathRemoveBefore",$path,false);
del_file($path);
Hook::trigger("explorer.pathRemoveAfter",$path);
diff --git a/app/controller/share.class.php b/app/controller/share.class.php
index beec69d..5983f8f 100755
--- a/app/controller/share.class.php
+++ b/app/controller/share.class.php
@@ -102,8 +102,6 @@ class share extends Controller{
$sharePath = _DIR_CLEAR($this->shareInfo['path']);
if ($user['role'] != '1') {
$sharePath = HOME.ltrim($sharePath,'/');
- }else{
- $sharePath = _DIR_CLEAR($this->shareInfo['path']);
}
if ($this->shareInfo['type'] != 'file'){
$sharePath=rtrim($sharePath,'/').'/';
@@ -333,6 +331,9 @@ class share extends Controller{
if (isset($this->in['project'])) {
$path = $this->sharePath.$this->_clear($this->in['project']);
}
+ if (isset($this->in['path'])) {
+ $path = $this->sharePath.$this->_clear($this->in['path']);
+ }
if (isset($this->in['name'])){
$path=$path.'/'.$this->_clear($this->in['name']);
}
@@ -382,7 +383,7 @@ class share extends Controller{
public function fileUpload(){
$fileName = $_FILES['file']['name']? $_FILES['file']['name']:$GLOBALS['in']['name'];
$GLOBALS['isRoot']=0;
- $GLOBALS['auth']['extNotAllow'] = "php|asp|jsp|html|htm";
+ $GLOBALS['auth']['extNotAllow'] = "php|asp|jsp|html|htm|htaccess";
if(!checkExt($fileName)){
show_json(LNG('no_permission_ext'),false);
}
@@ -432,7 +433,7 @@ class share extends Controller{
if ($this->shareInfo['notDownload']=='1') {
show_json(LNG('share_not_download_tips'),false);
}
- $path = _DIR_CLEAR($this->in['path']);
+ $path = get_path_this(_DIR_CLEAR($this->in['path']));
$path = iconv_system(USER_TEMP.$path);
file_put_out($path,true);
del_file($path);
@@ -467,7 +468,7 @@ class share extends Controller{
$listNum = count($zipList);
$files = array();
for ($i=0; $i < $listNum; $i++) {
- $item = _DIR_CLEAR($this->path.$this->_clear($zipList[$i]['path']));
+ $item = $this->path.$this->_clear($zipList[$i]['path']);
if(file_exists($item)){
$files[] = $item;
}
@@ -496,8 +497,11 @@ class share extends Controller{
$displayName = $this->in['name'];
$filepath = _DIR_CLEAR($this->in['fileUrl']);
$filepath = str_replace(':/','://',$filepath);
+ if(is_file($filepath) || substr($filepath,0,4) != 'http'){
+ show_json(LNG('url error!'),false);
+ }
}else{
- $displayName = _DIR_CLEAR(rawurldecode($this->in['filename']));
+ $displayName = _DIR_CLEAR($this->in['filename']);
$filepath= $this->sharePath.iconv_system($displayName);
if (!path_readable($filepath)){
show_json(LNG('no_permission_read'),false);
diff --git a/app/controller/util.php b/app/controller/util.php
index d7cb2ea..e8b8dbc 100755
--- a/app/controller/util.php
+++ b/app/controller/util.php
@@ -1,2 +1,2 @@
-|+|)|7请检查php.ini相关配置,查看磁盘是否已满,或咨询服务商。
|+|)|7session.save_path=|+|)|7
|+|)|7session.save_handler=|+|)|7settingSystem|+|)|7systemPassword|+|)|7kodExplorer_|+|)|7accessToken error!');Œˏ벵зŌꮁÈʀ;
- define($GLOBALS{}[0],$GLOBALS{}{0x001});define($GLOBALS{}[0x0002],$GLOBALS{}{0x00003});define($GLOBALS{}[0x000004],$GLOBALS{}{0x05});define($GLOBALS{}[0x006],$GLOBALS{}{0x0007});define($GLOBALS{}[0x00008],$GLOBALS{}{0x000009});define($GLOBALS{}[0x0a],$GLOBALS{}{0x00b});define($GLOBALS{}[0x000c],$GLOBALS{}{0x0000d});define($GLOBALS{}[0x00000e],$GLOBALS{}{0x0f});function _DIR_CLEAR($х){$=&$GLOBALS{};$х=str_replace($[0x0010],${0x00011},trim($х));$х=preg_replace($[0x000012],${0x00011},$х);if(isset($GLOBALS[${0x0000013}])&& $GLOBALS[${0x0000013}]){return $х;}while(strstr($х,$[0x014])){$х=str_replace($[0x014],${0x00011},$х);}$х=preg_replace($[0x000012],${0x00011},$х);return $х;}function _DIR($){$ƃ=&$GLOBALS{};$=_DIR_CLEAR($);ǏǺ;$=iconv_system($);Ѷ̡;$霪=array(KOD_GROUP_PATH,KOD_GROUP_SHARE,KOD_USER_SELF,KOD_GROUP_ROOT_SELF,KOD_GROUP_ROOT_ALL,KOD_USER_SHARE,KOD_USER_RECYCLE,KOD_USER_FAV,);ᢂٴƘ웜ŕӍʻԨ̊;$GLOBALS[$ƃ{0x0015}]=$ƃ[0x00016];$GLOBALS[$ƃ{0x000017}]=HOME;$GLOBALS[$ƃ[0x0000018]]=$ƃ[0x00016];unset($GLOBALS[$ƃ{0x019}]);߷ܰ총ح㌸;foreach($霪 as $){if(substr($,0,strlen($))==$){$GLOBALS[$ƃ{0x0015}]=$;$噮=explode($ƃ{0x00011},$);$=$噮[0];unset($噮[0]);$=implode($ƃ{0x00011},$噮);$ժ=explode($ƃ[0x001a],$);if(count($ժ)>0x001){$GLOBALS[$ƃ[0x0000018]]=trim($ժ[0x001]);}else{$GLOBALS[$ƃ[0x0000018]]=$ƃ[0x00016];}break;}}switch($GLOBALS[$ƃ{0x0015}]){case $ƃ[0x00016]:$=iconv_system(HOME).$;ʳݳ˹ũշ;break;case KOD_USER_RECYCLE:$GLOBALS[$ƃ{0x000017}]=trim(USER_RECYCLE,$ƃ{0x00011});$GLOBALS[$ƃ[0x0000018]]=$ƃ[0x00016];߬۬ك;return iconv_system(USER_RECYCLE).$ƃ{0x00011}.str_replace(KOD_USER_RECYCLE,$ƃ[0x00016],$);case KOD_USER_SELF:$GLOBALS[$ƃ{0x000017}]=trim(HOME_PATH,$ƃ{0x00011});$GLOBALS[$ƃ[0x0000018]]=$ƃ[0x00016];return iconv_system(HOME_PATH).$ƃ{0x00011}.str_replace(KOD_USER_SELF,$ƃ[0x00016],$);թϸ;case KOD_USER_FAV:$GLOBALS[$ƃ{0x000017}]=trim(KOD_USER_FAV,$ƃ{0x00011});$GLOBALS[$ƃ[0x0000018]]=$ƃ[0x00016];return KOD_USER_FAV;ʟĎꏟ;case KOD_GROUP_ROOT_SELF:$GLOBALS[$ƃ{0x000017}]=trim(KOD_GROUP_ROOT_SELF,$ƃ{0x00011});$GLOBALS[$ƃ[0x0000018]]=$ƃ[0x00016];return KOD_GROUP_ROOT_SELF;̀;case KOD_GROUP_ROOT_ALL:$GLOBALS[$ƃ{0x000017}]=trim(KOD_GROUP_ROOT_ALL,$ƃ{0x00011});걙ϥ;$GLOBALS[$ƃ[0x0000018]]=$ƃ[0x00016];return KOD_GROUP_ROOT_ALL;н¥ˮ;case KOD_GROUP_PATH:$=systemGroup::getInfo($GLOBALS[$ƃ[0x0000018]]);ՠ݉視Ȥ;if(!$GLOBALS[$ƃ[0x0000018]]|| !$)return !1;owner_group_check($GLOBALS[$ƃ[0x0000018]]);$GLOBALS[$ƃ{0x000017}]=group_home_path($);塮҂쥕ʜ䇩چŋۂ̩ڷ敿ԇ项;$=iconv_system($GLOBALS[$ƃ{0x000017}]).$;粗;break;case KOD_GROUP_SHARE:$=systemGroup::getInfo($GLOBALS[$ƃ[0x0000018]]);婇ӬɅٕо͉ڎ;if(!$GLOBALS[$ƃ[0x0000018]]|| !$)return !1;owner_group_check($GLOBALS[$ƃ[0x0000018]]);$GLOBALS[$ƃ{0x000017}]=group_home_path($).$ƃ{0x0001b};͉ـ³ݎ;$=iconv_system($GLOBALS[$ƃ{0x000017}]).$;ϵң;break;ہҚ;case KOD_USER_SHARE:$=systemMember::getInfo($GLOBALS[$ƃ[0x0000018]]);if(!$GLOBALS[$ƃ[0x0000018]]|| !$)return !1;if($GLOBALS[$ƃ[0x0000018]]!=$_SESSION[$ƃ[0x00001c]][$ƃ{0x000001d}]){$=$GLOBALS[$ƃ[0x01e]][$ƃ{0x001f}][$ƃ[0x00020]][$ƃ{0x000021}];path_role_check($);}$GLOBALS[$ƃ{0x000017}]=$ƃ[0x00016];$GLOBALS[$ƃ{0x019}]=$;if($==$ƃ[0x00016]){return $;}else{$=explode($ƃ{0x00011},$);$[0]=iconv_app($[0]);$=systemMember::userShareGet($GLOBALS[$ƃ[0x0000018]],$[0]);$GLOBALS[$ƃ[0x0000022]]=$;$GLOBALS[$ƃ{0x019}]=KOD_USER_SHARE.$ƃ[0x001a].$GLOBALS[$ƃ[0x0000018]].$ƃ{0x00011}.$[0].$ƃ{0x00011};unset($[0]);if(!$)return !1;$ε=rtrim($[$ƃ{0x023}],$ƃ{0x00011}).$ƃ{0x00011}.iconv_app(implode($ƃ{0x00011},$));if($[$ƃ[0x0024]]!=$ƃ[0x00020]){$=user_home_path($);$GLOBALS[$ƃ{0x000017}]=$.rtrim($[$ƃ{0x023}],$ƃ{0x00011}).$ƃ{0x00011};$=$.$ε;}else{$GLOBALS[$ƃ{0x000017}]=$[$ƃ{0x023}];$=$ε;}if($[$ƃ{0x00025}]==$ƃ[0x000026]){$GLOBALS[$ƃ{0x019}]=rtrim($GLOBALS[$ƃ{0x019}],$ƃ{0x00011});$GLOBALS[$ƃ{0x000017}]=rtrim($GLOBALS[$ƃ{0x000017}],$ƃ{0x00011});}$=iconv_system($);}break;ו;default:break;Ҏʶۺɟ;}if($!=$ƃ{0x00011}){$=rtrim($,$ƃ{0x00011});if(is_dir($))$=$.$ƃ{0x00011};}return $;}function _DIR_OUT($){$=&$GLOBALS{};if(is_array($)){foreach($[${0x0000027}] as $=>&$){$[${0x023}]=preClear($[${0x023}]);}foreach($[$[0x028]] as $=>&$){$[${0x023}]=preClear(rtrim($[${0x023}],${0x00011}).${0x00011});}}else{$=preClear($);}return $;}function preClear($){$=&$GLOBALS{};$=$GLOBALS[${0x0015}];ڛڬȠ;$ƀ=rtrim($GLOBALS[${0x000017}],${0x00011});٪;$=array(KOD_USER_FAV,KOD_GROUP_ROOT_SELF,KOD_GROUP_ROOT_ALL);if(isset($GLOBALS[${0x0015}])&& in_array($GLOBALS[${0x0015}],$)){return $;}if(ST==${0x0029}){return str_replace($ƀ,$[0x00016],$);}if($GLOBALS[$[0x0000018]]!=$[0x00016]){$.=$[0x001a].$GLOBALS[$[0x0000018]].${0x00011};}if(isset($GLOBALS[${0x019}])){$=$GLOBALS[${0x019}];}$=$.str_replace($ƀ,$[0x00016],$);$=str_replace($[0x0002a],${0x00011},$);ꌗ괛Lj;return $;}include(CLASS_DIR.$GLOBALS{}{0x00002b});function owner_group_check($ʔ){$ȝ=&$GLOBALS{};if(!$ʔ)show_json(LNG($ȝ[0x000002c]).$ʔ,!1);if($GLOBALS[$ȝ{0x0000013}]||(isset($GLOBALS[$ȝ{0x02d}])&& $GLOBALS[$ȝ{0x02d}]===!0)){return;}$=systemMember::userAuthGroup($ʔ);if($==!1){if($GLOBALS[$ȝ{0x0015}]==KOD_GROUP_PATH){show_json(LNG($ȝ[0x002e]),!1);}else if($GLOBALS[$ȝ{0x0015}]==KOD_GROUP_SHARE){$=$GLOBALS[$ȝ[0x01e]][$ȝ{0x001f}][$ȝ[0x00020]];}}else{$=$GLOBALS[$ȝ[0x01e]][$ȝ{0x0002f}][$];ߎΨث;}path_role_check($[$ȝ{0x000021}]);݉ԏϫ逐Ԟڋ;}function path_role_check($ֵ){$=&$GLOBALS{};if($GLOBALS[${0x0000013}]||(isset($GLOBALS[${0x02d}])&& $GLOBALS[${0x02d}]===!0)){return;}$=role_permission_arr($ֵ);$GLOBALS[$[0x000030]]=$;if(!isset($[ST.${0x0000031}.ACT])&& ST!=${0x0029}){show_json(LNG($[0x032]),!1);}}function role_permission_arr($){$=&$GLOBALS{};$=array();$=$GLOBALS[$[0x01e]][${0x0033}];ї郅;foreach($ as $=>$){if(!$)continue;$=explode($[0x001a],$);if(count($)==0x0002&& is_array($[$[0]])&& is_array($[$[0]][$[0x001]])){$=array_merge($,$[$[0]][$[0x001]]);}}$ӷ=array();Ėț̓ݜ牅ݰܱ祑Ψܢī;foreach($ as $){$ӷ[$]=$[0x00020];}return $ӷ;ؚͣͫɹơͬłفǥ;}function check_file_writable_user($){$=&$GLOBALS{};if(!isset($GLOBALS[${0x0015}])){_DIR($);}$=$[0x00034];if($GLOBALS[${0x0000013}])return @is_writable($);if($GLOBALS[${0x000035}][$]!=$[0x00020]){return !1;}if($GLOBALS[${0x0015}]==KOD_GROUP_PATH&& is_array($GLOBALS[$[0x000030]])&& $GLOBALS[$[0x000030]][$]==$[0x00020]){return !0;}if($GLOBALS[${0x0015}]==$[0x00016] || $GLOBALS[${0x0015}]==KOD_USER_SELF){return !0;}return !1;}function space_size_use_check(){$=&$GLOBALS{};if(!system_space())return;if($GLOBALS[${0x0000013}]==0x001)return;if(isset($GLOBALS[$[0x0000036]])&& isset($GLOBALS[$[0x0000018]])&& $GLOBALS[$[0x0000036]]==$GLOBALS[$[0x0000018]]){return;}if($GLOBALS[${0x0015}]==KOD_GROUP_SHARE|| $GLOBALS[${0x0015}]==KOD_GROUP_PATH){systemGroup::spaceCheck($GLOBALS[$[0x0000018]]);}else{if(ST==${0x0029}){$=$GLOBALS[${0x037}][$[0x0038]];}else{$=$_SESSION[$[0x00001c]][${0x000001d}];}systemMember::spaceCheck($);}}function spaceSizeChange($,$=true,$IJ=false,$=false){$仾=&$GLOBALS{};if(!system_space())return;if($IJ===!1){$IJ=$GLOBALS[$仾{0x0015}];$=$GLOBALS[$仾[0x0000018]];}$=$?0x001:-0x001;if(is_file($)){$ϑ=get_filesize($);}else if(is_dir($)){$=_path_info_more($);$ϑ=$[$仾{0x00039}];}else{return;}if($IJ==KOD_GROUP_SHARE|| $IJ==KOD_GROUP_PATH){systemGroup::spaceChange($,$ϑ*$);}else{if(ST==$仾{0x0029}){$=$GLOBALS[$仾{0x037}][$仾[0x0038]];}else{$=$_SESSION[$仾[0x00001c]][$仾{0x000001d}];}systemMember::spaceChange($,$ϑ*$);}}function spaceSizeChange_move($){$ڠ=&$GLOBALS{};if(isset($GLOBALS[$ڠ[0x0000036]])&& isset($GLOBALS[$ڠ[0x0000018]])){if($GLOBALS[$ڠ[0x0000036]]==$GLOBALS[$ڠ[0x0000018]]){return;}else{spaceSizeChange($);spaceSizeChange($,!1,$GLOBALS[$ڠ[0x00003a]],$GLOBALS[$ڠ[0x0000036]]);}}else{spaceSizeChange($);녠ùȅ;}}function space_size_use_reset(){$=&$GLOBALS{};if(!system_space())return;$=isset($GLOBALS[${0x0015}])?$GLOBALS[${0x0015}]:$[0x00016];颫N;$=isset($GLOBALS[$[0x0000018]])?$GLOBALS[$[0x0000018]]:$[0x00016];if($==KOD_GROUP_SHARE|| $==KOD_GROUP_PATH){systemGroup::spaceChange($);}else{$Ů=$_SESSION[$[0x00001c]][${0x000001d}];systemMember::spaceChange($Ů);}}function init_space_size_hook(){$ة=&$GLOBALS{};Hook::bind($ة{0x000003b},$ة[0x03c]);Hook::bind($ة{0x003d},$ة[0x0003e]);Hook::bind($ة{0x00003f},$ة[0x03c]);Hook::bind($ة[0x0000040],$ة[0x03c]);ϡ;Hook::bind($ة{0x041},$ة[0x03c]);Hook::bind($ة[0x0042],$ة[0x03c]);Hook::bind($ة{0x00043},$ة[0x03c]);Hook::bind($ة[0x000044],$ة[0x03c]);;Hook::bind($ة{0x0000045},$ة[0x03c]);Hook::bind($ة[0x046],$ة[0x0003e]);ޤʗƆڬ䁮;Hook::bind($ة{0x0047},$ة[0x0003e]);ˢ쓞Á;Hook::bind($ة[0x00048],$ة[0x0003e]);ƀȂߗϊ֦;Hook::bind($ة{0x000049},$ة[0x0003e]);⽪цث含㛛ةӵȻϚۑ;Hook::bind($ة[0x000004a],$ة[0x03c]);둠;Hook::bind($ة{0x04b},$ة[0x004c]);ϾȶƏͯ;Hook::bind($ة{0x0004d},$ة[0x00004e]);}function init_session(){$ځ=&$GLOBALS{};if(isset($_GET[$ځ{0x000004f}])){access_token_check($_GET[$ځ{0x000004f}]);}else if(isset($_GET[$ځ[0x050]])){access_token_check($_GET[$ځ[0x050]]);}else{@session_name(SESSION_ID);}$ߴ=@session_save_path();if(class_exists($ځ{0x0051})|| defined($ځ[0x00052])|| defined($ځ{0x000053})|| @ini_get($ځ[0x0000054])!=$ځ{0x055} || isset($_SERVER[$ځ[0x0056]])){}else{chmod_path(KOD_SESSION,0777);@session_save_path(KOD_SESSION);}@session_start();$_SESSION[$ځ{0x00057}]=0x001;֍˷ݒд؈;@session_write_close();ӭ֣ˊÝǚޣɃ;unset($_SESSION);@session_start();됿;if(!$_SESSION[$ځ{0x00057}]){@session_save_path($ߴ);@session_start();$_SESSION[$ځ{0x00057}]=0x001;@session_write_close();unset($_SESSION);@session_start();}if(!$_SESSION[$ځ{0x00057}]){show_tips($ځ[0x000058].$ځ{0x0000059}.$ځ[0x05a].$ߴ.$ځ{0x005b}.$ځ[0x0005c].@ini_get($ځ[0x0000054]).$ځ{0x005b});}}function access_token_check($ʐ){$=&$GLOBALS{};$=$GLOBALS[$[0x01e]][${0x00005d}][$[0x000005e]];$=substr(md5(${0x05f}.$),0,0x0f);;$=Mcrypt::decode($ʐ,$);ܲ뵎;if(!$){show_tips($[0x0060]);}session_id($);}function access_token_get(){$ɑ=&$GLOBALS{};$=session_id();$=$GLOBALS[$ɑ[0x01e]][$ɑ{0x00005d}][$ɑ[0x000005e]];$=substr(md5($ɑ{0x05f}.$),0,0x0f);$=Mcrypt::encode($,$,0x0e10*0x0000018);return $;}function init_config(){init_setting();;init_session();init_space_size_hook();}
\ No newline at end of file
+|$|-|5请检查php.ini相关配置,查看磁盘是否已满,或咨询服务商。
|$|-|5session.save_path=|$|-|5
|$|-|5session.save_handler=|$|-|5settingSystem|$|-|5systemPassword|$|-|5kodExplorer_|$|-|5accessToken error!');ع៣̹焪厷ڵѭІ̍«ꮦќ¹ܐڈ݉дɜǜƐ틢Կ;
+ define($_SERVER{}[0],$_SERVER{}{0x001});define($_SERVER{}[0x0002],$_SERVER{}{0x00003});define($_SERVER{}[0x000004],$_SERVER{}{0x05});define($_SERVER{}[0x006],$_SERVER{}{0x0007});define($_SERVER{}[0x00008],$_SERVER{}{0x000009});define($_SERVER{}[0x0a],$_SERVER{}{0x00b});define($_SERVER{}[0x000c],$_SERVER{}{0x0000d});define($_SERVER{}[0x00000e],$_SERVER{}{0x0f});function _DIR_CLEAR($){$=&$_SERVER{};$=str_replace($[0x0010],${0x00011},trim($));䴣ձ芳Āμ앝ڪ켰;$=preg_replace($[0x000012],${0x00011},$);$=$;if(isset($GLOBALS[${0x0000013}])&& $GLOBALS[${0x0000013}]){return $;}$=$[0x014];if(substr($,0,0x00003)==${0x0015}){$=substr($,0x00003);}while(strstr($,$)){$=str_replace($,${0x00011},$);}$=preg_replace($[0x000012],${0x00011},$);return $;}function _DIR($){$=&$_SERVER{};$ƫ=_DIR_CLEAR($);$ƫ=iconv_system($ƫ);̒ËĆ;$ۿ=array(KOD_GROUP_PATH,KOD_GROUP_SHARE,KOD_USER_SELF,KOD_GROUP_ROOT_SELF,KOD_GROUP_ROOT_ALL,KOD_USER_SHARE,KOD_USER_RECYCLE,KOD_USER_FAV,);$GLOBALS[$[0x00016]]=${0x000017};$GLOBALS[$[0x0000018]]=HOME;ݭꫪ켟ٟ䩖Ϯ;$GLOBALS[${0x019}]=${0x000017};unset($GLOBALS[$[0x001a]]);å;foreach($ۿ as $ڛȘ){if(substr($ƫ,0,strlen($ڛȘ))==$ڛȘ){$GLOBALS[$[0x00016]]=$ڛȘ;$=explode(${0x00011},$ƫ);$⥳=$[0];unset($[0]);$=implode(${0x00011},$);$=explode(${0x0001b},$⥳);if(count($)>0x001){$GLOBALS[${0x019}]=trim($[0x001]);}else{$GLOBALS[${0x019}]=${0x000017};}break;}}switch($GLOBALS[$[0x00016]]){case ${0x000017}:$ƫ=iconv_system(HOME).$ƫ;ᑇӟלյ;break;ܼ眚чȠȵ;case KOD_USER_RECYCLE:$GLOBALS[$[0x0000018]]=trim(USER_RECYCLE,${0x00011});㚉ۆܫχף̈ўŊ;$GLOBALS[${0x019}]=${0x000017};ݹƈɔ閇ԟ;return iconv_system(USER_RECYCLE).${0x00011}.str_replace(KOD_USER_RECYCLE,${0x000017},$ƫ);case KOD_USER_SELF:$GLOBALS[$[0x0000018]]=trim(HOME_PATH,${0x00011});;$GLOBALS[${0x019}]=${0x000017};ŻݢަȶӷͰƴö;return iconv_system(HOME_PATH).${0x00011}.str_replace(KOD_USER_SELF,${0x000017},$ƫ);ʔ;case KOD_USER_FAV:$GLOBALS[$[0x0000018]]=trim(KOD_USER_FAV,${0x00011});DzѬĤߘы鳠;$GLOBALS[${0x019}]=${0x000017};Ǽ;return KOD_USER_FAV;case KOD_GROUP_ROOT_SELF:$GLOBALS[$[0x0000018]]=trim(KOD_GROUP_ROOT_SELF,${0x00011});;$GLOBALS[${0x019}]=${0x000017};;return KOD_GROUP_ROOT_SELF;岸Ӥij;case KOD_GROUP_ROOT_ALL:$GLOBALS[$[0x0000018]]=trim(KOD_GROUP_ROOT_ALL,${0x00011});џЮ̩錵 ;$GLOBALS[${0x019}]=${0x000017};return KOD_GROUP_ROOT_ALL;;case KOD_GROUP_PATH:$=systemGroup::getInfo($GLOBALS[${0x019}]);if(!$GLOBALS[${0x019}]|| !$)return !1;owner_group_check($GLOBALS[${0x019}]);š䁿待Ǖܪ;$GLOBALS[$[0x0000018]]=group_home_path($);$ƫ=iconv_system($GLOBALS[$[0x0000018]]).$;break;;case KOD_GROUP_SHARE:$=systemGroup::getInfo($GLOBALS[${0x019}]);ج;if(!$GLOBALS[${0x019}]|| !$)return !1;owner_group_check($GLOBALS[${0x019}]);٠;$GLOBALS[$[0x0000018]]=group_home_path($).$[0x00001c];$ƫ=iconv_system($GLOBALS[$[0x0000018]]).$;縬⩨á٘;break;case KOD_USER_SHARE:$=systemMember::getInfo($GLOBALS[${0x019}]);if(!$GLOBALS[${0x019}]|| !$)return !1;if($GLOBALS[${0x019}]!=$_SESSION[${0x000001d}][$[0x01e]]){$=$GLOBALS[${0x001f}][$[0x00020]][${0x000021}][$[0x0000022]];path_role_check($);}$GLOBALS[$[0x0000018]]=${0x000017};$GLOBALS[$[0x001a]]=$;if($==${0x000017}){return $ƫ;}else{$=explode(${0x00011},$);$[0]=iconv_app($[0]);$ٜ=systemMember::userShareGet($GLOBALS[${0x019}],$[0]);$GLOBALS[${0x023}]=$ٜ;$GLOBALS[$[0x001a]]=KOD_USER_SHARE.${0x0001b}.$GLOBALS[${0x019}].${0x00011}.$[0].${0x00011};unset($[0]);if(!$ٜ)return !1;$Ƨ=rtrim($ٜ[$[0x0024]],${0x00011}).${0x00011}.iconv_app(implode(${0x00011},$));if($[${0x00025}]!=${0x000021}){$ڡ=user_home_path($);$GLOBALS[$[0x0000018]]=$ڡ.rtrim($ٜ[$[0x0024]],${0x00011}).${0x00011};$ƫ=$ڡ.$Ƨ;}else{$GLOBALS[$[0x0000018]]=$ٜ[$[0x0024]];$ƫ=$Ƨ;}if($ٜ[$[0x000026]]==${0x0000027}){$GLOBALS[$[0x001a]]=rtrim($GLOBALS[$[0x001a]],${0x00011});$GLOBALS[$[0x0000018]]=rtrim($GLOBALS[$[0x0000018]],${0x00011});}$ƫ=iconv_system($ƫ);}break;;default:break;}if($ƫ!=${0x00011}){$ƫ=rtrim($ƫ,${0x00011});if(is_dir($ƫ))$ƫ=$ƫ.${0x00011};}return $ƫ;ƾŭ;}function _DIR_OUT($){$=&$_SERVER{};if(is_array($)){foreach($[$[0x028]] as $=>&$){$[$[0x0024]]=preClear($[$[0x0024]]);}foreach($[${0x0029}] as $=>&$){$[$[0x0024]]=preClear(rtrim($[$[0x0024]],${0x00011}).${0x00011});}}else{$=preClear($);}return $;}function preClear($){$=&$_SERVER{};$=$GLOBALS[$[0x00016]];$=rtrim($GLOBALS[$[0x0000018]],${0x00011});䣠Κ;$=array(KOD_USER_FAV,KOD_GROUP_ROOT_SELF,KOD_GROUP_ROOT_ALL);ǵڞ;if(isset($GLOBALS[$[0x00016]])&& in_array($GLOBALS[$[0x00016]],$)){return $;}if(ST==$[0x0002a]){return str_replace($,${0x000017},$);}if($GLOBALS[${0x019}]!=${0x000017}){$.=${0x0001b}.$GLOBALS[${0x019}].${0x00011};}if(isset($GLOBALS[$[0x001a]])){$=$GLOBALS[$[0x001a]];}$=$.str_replace($,${0x000017},$);$=str_replace(${0x00002b},${0x00011},$);␚߾Ɗٶٖ;return $;畯¬İрȺ;}include(CLASS_DIR.$_SERVER{}[0x000002c]);function owner_group_check($ŷ){$=&$_SERVER{};if(!$ŷ)show_json(LNG(${0x02d}).$ŷ,!1);if($GLOBALS[${0x0000013}]||(isset($GLOBALS[$[0x002e]])&& $GLOBALS[$[0x002e]]===!0)){return;}$ї=systemMember::userAuthGroup($ŷ);if($ї==!1){if($GLOBALS[$[0x00016]]==KOD_GROUP_PATH){show_json(LNG(${0x0002f}),!1);}else if($GLOBALS[$[0x00016]]==KOD_GROUP_SHARE){$=$GLOBALS[${0x001f}][$[0x00020]][${0x000021}];}}else{$=$GLOBALS[${0x001f}][$[0x000030]][$ї];ԑ̴نՠٔэ;}path_role_check($[$[0x0000022]]);Țϫǎϣ;}function path_role_check($Æ){$=&$_SERVER{};if($GLOBALS[${0x0000013}]||(isset($GLOBALS[$[0x002e]])&& $GLOBALS[$[0x002e]]===!0)){return;}$=role_permission_arr($Æ);$GLOBALS[${0x0000031}]=$;if(!isset($[ST.$[0x032].ACT])&& ST!=$[0x0002a]){show_json(LNG(${0x0033}),!1);}}function role_permission_arr($ہ){$=&$_SERVER{};$=array();،ĸ;$=$GLOBALS[${0x001f}][$[0x00034]];濩֊;foreach($ہ as $=>$߅){if(!$߅)continue;$=explode(${0x0001b},$);if(count($)==0x0002&& is_array($[$[0]])&& is_array($[$[0]][$[0x001]])){$=array_merge($,$[$[0]][$[0x001]]);}}$=array();foreach($ as $߅){$[$߅]=${0x000021};ޝ;}return $;}function check_file_writable_user($){$=&$_SERVER{};if(!isset($GLOBALS[$[0x00016]])){_DIR($);}$Θ=${0x000035};if($GLOBALS[${0x0000013}])return @is_writable($);if($GLOBALS[$[0x0000036]][$Θ]!=${0x000021}){return !1;}if($GLOBALS[$[0x00016]]==KOD_GROUP_PATH&& is_array($GLOBALS[${0x0000031}])&& $GLOBALS[${0x0000031}][$Θ]==${0x000021}){return !0;}if($GLOBALS[$[0x00016]]==${0x000017} || $GLOBALS[$[0x00016]]==KOD_USER_SELF){return !0;}return !1;}function space_size_use_check(){$=&$_SERVER{};if(!system_space())return;if($GLOBALS[${0x0000013}]==0x001)return;if(isset($GLOBALS[${0x037}])&& isset($GLOBALS[${0x019}])&& $GLOBALS[${0x037}]==$GLOBALS[${0x019}]){return;}if($GLOBALS[$[0x00016]]==KOD_GROUP_SHARE|| $GLOBALS[$[0x00016]]==KOD_GROUP_PATH){systemGroup::spaceCheck($GLOBALS[${0x019}]);}else{if(ST==$[0x0002a]){$=$GLOBALS[$[0x0038]][${0x00039}];}else{$=$_SESSION[${0x000001d}][$[0x01e]];}systemMember::spaceCheck($);}}function spaceSizeChange($哏,$=true,$ъ=false,$=false){$=&$_SERVER{};if(!system_space())return;if($ъ===!1){$ъ=$GLOBALS[$[0x00016]];$=$GLOBALS[${0x019}];}$=$?0x001:-0x001;if(is_file($哏)){$ָԵ=get_filesize($哏);}else if(is_dir($哏)){$=_path_info_more($哏);$ָԵ=$[$[0x00003a]];}else{return;}if($ъ==KOD_GROUP_SHARE|| $ъ==KOD_GROUP_PATH){systemGroup::spaceChange($,$ָԵ*$);}else{if(ST==$[0x0002a]){$֪=$GLOBALS[$[0x0038]][${0x00039}];}else{$֪=$_SESSION[${0x000001d}][$[0x01e]];}systemMember::spaceChange($֪,$ָԵ*$);}}function spaceSizeChange_move($){$ğ=&$_SERVER{};if(isset($GLOBALS[$ğ{0x037}])&& isset($GLOBALS[$ğ{0x019}])){if($GLOBALS[$ğ{0x037}]==$GLOBALS[$ğ{0x019}]){return;}else{spaceSizeChange($);spaceSizeChange($,!1,$GLOBALS[$ğ{0x000003b}],$GLOBALS[$ğ{0x037}]);}}else{spaceSizeChange($);ީĦł̪뮙ލÍӿř;}}function space_size_use_reset(){$=&$_SERVER{};if(!system_space())return;$囜=isset($GLOBALS[$[0x00016]])?$GLOBALS[$[0x00016]]:${0x000017};$ܓ=isset($GLOBALS[${0x019}])?$GLOBALS[${0x019}]:${0x000017};if($囜==KOD_GROUP_SHARE|| $囜==KOD_GROUP_PATH){systemGroup::spaceChange($ܓ);}else{$=$_SESSION[${0x000001d}][$[0x01e]];systemMember::spaceChange($);}}function init_space_size_hook(){$=&$_SERVER{};Hook::bind($[0x03c],${0x003d});Hook::bind($[0x0003e],${0x00003f});ʤ;Hook::bind($[0x0000040],${0x003d});Hook::bind(${0x041},${0x003d});ǩٰ܌͞Õʐ;Hook::bind($[0x0042],${0x003d});֦«;Hook::bind(${0x00043},${0x003d});欦߅;Hook::bind($[0x000044],${0x003d});褦Ǣ;Hook::bind(${0x0000045},${0x003d});Hook::bind($[0x046],${0x003d});ٹֺ̅ڱ̸琉Ϧ;Hook::bind(${0x0047},${0x00003f});Ҡ鑐;Hook::bind($[0x00048],${0x00003f});Hook::bind(${0x000049},${0x00003f});їő厼팦ؼϗ;Hook::bind($[0x000004a],${0x00003f});;Hook::bind(${0x04b},${0x003d});㋸ŏ̌˔슒Ƴ녃Аև飜֮Ú鳉ǠӤȥ;Hook::bind($[0x004c],${0x0004d});թÅ;Hook::bind($[0x00004e],${0x000004f});}function init_session(){$=&$_SERVER{};if(isset($_GET[$[0x050]])){access_token_check($_GET[$[0x050]]);}else if(isset($_GET[${0x0051}])){access_token_check($_GET[${0x0051}]);}else{@session_name(SESSION_ID);}$ߒȲ=@session_save_path();if(class_exists($[0x00052])|| defined(${0x000053})|| defined($[0x0000054])|| @ini_get(${0x055})!=$[0x0056] || isset($_SERVER[${0x00057}])){}else{chmod_path(KOD_SESSION,0777);@session_save_path(KOD_SESSION);}@session_start();$_SESSION[$[0x000058]]=0x001;@session_write_close();о;unset($_SESSION);Ғͳ;@session_start();ӪƢ쮪ݤҎߢ;if(!$_SESSION[$[0x000058]]){@session_save_path($ߒȲ);@session_start();$_SESSION[$[0x000058]]=0x001;@session_write_close();unset($_SESSION);@session_start();}if(!$_SESSION[$[0x000058]]){show_tips(${0x0000059}.$[0x05a].${0x005b}.$ߒȲ.$[0x0005c].${0x00005d}.@ini_get(${0x055}).$[0x0005c]);}}function access_token_check($){$Ɛ=&$_SERVER{};$=$GLOBALS[$Ɛ{0x001f}][$Ɛ[0x000005e]][$Ɛ{0x05f}];߮펉Ȟ;$=substr(md5($Ɛ[0x0060].$),0,0x0f);$=Mcrypt::decode($,$);ì֍ڪɒԨϗDž𮡮;if(!$){show_tips($Ɛ{0x00061});}session_id($);}function access_token_get(){$=&$_SERVER{};$=session_id();$=$GLOBALS[${0x001f}][$[0x000005e]][${0x05f}];$=substr(md5($[0x0060].$),0,0x0f);$=Mcrypt::encode($,$,0x0e10*0x0000018);return $;}function init_config(){init_setting();init_session();˴;init_space_size_hook();Žӟ;}
\ No newline at end of file
diff --git a/app/function/helper.function.php b/app/function/helper.function.php
index a2dc114..dd3b5fc 100755
--- a/app/function/helper.function.php
+++ b/app/function/helper.function.php
@@ -6,6 +6,8 @@ function checkExt($file){
return 0;
}
$notAllow = $GLOBALS['auth']['extNotAllow'];
+
+ $notAllow .= '|htaccess';//防破解安全处理
$extArr = explode('|',$notAllow);
foreach ($extArr as $current) {
if ($current !== '' && stristr($file,'.'.$current)){//含有扩展名
diff --git a/app/function/web.function.php b/app/function/web.function.php
index 3ae05e8..dc2a497 100755
--- a/app/function/web.function.php
+++ b/app/function/web.function.php
@@ -69,9 +69,17 @@ function this_url(){
function reset_path($str){
return str_replace('\\','/',$str);
}
-function get_webroot($app_path){
- $webRoot = str_replace(reset_path($_SERVER['SCRIPT_NAME']),'',$app_path.'index.php').'/';
- if (substr($webRoot,-10) == 'index.php/') {//解决部分主机不兼容问题
+function get_webroot($app_path=''){
+ $index='index.php';
+ if($app_path == ''){
+ $self_file = reset_path($_SERVER['SCRIPT_NAME']);
+ $index_path = reset_path($_SERVER['SCRIPT_FILENAME']);
+ $app_path = substr($index_path,0,strrpos($index_path,'/'));
+ $index = substr($index_path,1+strrpos($index_path,'/'));
+ }
+
+ $webRoot = str_replace($self_file,'',$app_path.$index).'/';
+ if (substr($webRoot,-(strlen($index)+1)) == $index.'/') {//解决部分主机不兼容问题
$webRoot = reset_path($_SERVER['DOCUMENT_ROOT']).'/';
}
return $webRoot;
@@ -659,16 +667,16 @@ function db_escape($str) {
* 获取输入参数 支持过滤和默认值
* 使用方法:
*
- * input('id',0); 获取id参数 自动判断get或者post
- * input('post.name','','htmlspecialchars'); 获取$_POST['name']
- * input('get.'); 获取$_GET
+ * in('id',0); 获取id参数 自动判断get或者post
+ * in('post.name','','htmlspecialchars'); 获取$_POST['name']
+ * in('get.'); 获取$_GET
*
* @param string $name 变量的名称 支持指定类型
* @param mixed $default 不存在的时候默认值
* @param mixed $filter 参数过滤方法
* @return mixed
*/
-function input($name,$default='',$filter=null) {
+function in($name,$default='',$filter=null) {
$default_filter = 'htmlspecialchars,db_escape';
if(strpos($name,'.')) { // 指定参数来源
list($method,$name) = explode('.',$name,2);
diff --git a/app/kod/.cache_data b/app/kod/.cache_data
index 203dc6b..da311f4 100755
--- a/app/kod/.cache_data
+++ b/app/kod/.cache_data
@@ -1,2 +1,2 @@
-${0x0f},$[0x0010] =>${0x00011},$[0x000012] =>${0x0f},${0x0000013} =>$[0x014],${0x0015} =>${0x00011},$[0x00016] =>${0x00011},${0x000017} =>${0x00011},$[0x0000018] =>${0x019},);$=$GLOBALS[$[0]][$[0x0002]][$[0x001a]];Ɩ;if(isset($Ӿ[$])&& $<$Ӿ[$]){return !1;}return check_user_select($);}function system_space(){$=&$_SERVER{};$ŋ=${0x0001b};$=$GLOBALS[$[0]][$[0x0002]][$[0x001a]];if($==$ŋ){return !1;}return !0;}function systemMemberData(){$=&$_SERVER{};global$in;$=ST.$[0x00001c].ACT;$=${0x0001b};읩ߧ̛Ȇ͚Ϧλ;$=${0x000001d};ŕʰ;$=$[0x01e];;$ͨ=${0x001f};َ‱ܻͷܺ;$=$[0x00020];;$=${0x000021};$=$[0x0000022];Ǧԏ;$=$GLOBALS[$[0]][$[0x0002]][$[0x001a]];if(!$|| !in_array($,array($,$,$,$ͨ,$,$,$))){$=$;}$=new FileCache(USER_SYSTEM.${0x023});$=array($=>0x0a,$=>0x014,$=>0x032,$ͨ=>0x096,$=>0x01f4,$=>0x03e8,$=>0x03e8,);$ƿ=$->get();$=$[$];if($==$[0x0024]){if($==$&& isset($in[${0x00025}])){show_json(LNG($[0x000026]),!1,${0x0000027});}if(count($ƿ)>=$&& $!=0x03e8){show_json(LNG($[0x028]),!1,${0x0000027});}}if($==$[0x0024] || $==${0x0029}){if($==$&& isset($in[${0x0000d}])){show_json(LNG($[0x000026]),!1,${0x0000027});}}if($==$[0x0002a]){if(count($ƿ)>$&& $!=0x03e8){$=0x001;$=array();foreach($ƿ as $=>$){if($>$)break;$[$]=$;$++;}$->reset($,!1);}$ƿ=$->get();Ѩ璲ԥ;if($==$){$=array();foreach($ƿ as $=>$){unset($[${0x0000d}]);$[$]=$;}$->reset($,!1);}}return $;}function systemGroupData(){$=&$_SERVER{};global$in;柩ڰ׳ՐݩʠÒ㷈ɄҰޢ;$=ST.$[0x00001c].ACT;$ð=${0x0001b};$=${0x000001d};$=$[0x01e];׆;$=${0x001f};$=$[0x00020];ݿ;$=${0x000021};Ф;$=$[0x0000022];$=$GLOBALS[$[0]][$[0x0002]][$[0x001a]];̗݇ڜЮϤŭȕөׇ̤ׯ;if(!$|| !in_array($,array($ð,$,$,$,$,$,$))){$=$ð;}$=new FileCache(USER_SYSTEM.${0x00002b});$ἷ=array($ð=>0x001,$=>0x05,$=>0x014,$=>0x01e,$=>0x064,$=>0x03e8,$=>0x03e8,);$=$->get();јЭ뎦Ͷɦӫґ;$=$ἷ[$];if($==$[0x000002c]){if(count($)>=$&& $!=0x03e8){show_json(LNG($[0x028]),!1,${0x0000027});}}if($==$[0x000002c] || $==${0x02d}){if($==$ð&& isset($in[${0x0000d}])){show_json(LNG($[0x000026]),!1,${0x0000027});}}if($==$[0x002e]){if(count($)>$&& $!=0x03e8){$=0x001;$ꪉ=array();foreach($ as $=>$){if($>$)break;$ꪉ[$]=$;ŝԯÌȊ;$++;Ѝ״͋;}$->reset($ꪉ,!1);}$=$->get();҂;if($==$ð){$ꪉ=array();foreach($ as $=>$){unset($[${0x0000d}]);$ꪉ[$]=$;}$->reset($ꪉ,!1);}}return $;Ÿӣɖȵ;}function systemRoleData(){$=&$_SERVER{};$=ST.$[0x00001c].ACT;$=${0x0001b};if($==${0x0002f}){version_install();exit;}$=&$GLOBALS[$[0]][$[0x0002]];if(!init_version_check()){$[$[0x001a]]=$;if($!=$[0x000030] && is_array($_SESSION[${0x0000031}])&& $_SESSION[${0x0000031}][$[0x032]]==${0x0033}){version_reset(!1);include(TEMPLATE.$[0x00034]);exit;}}$=new FileCache(USER_SYSTEM.${0x000035});Ҭ;return $;}function init_version_check(){$=&$_SERVER{};$٥=&$GLOBALS[$[0]][$[0x0002]];$=$[0x0000036];멹ֱߕ;$=${0x0001b};Ӹж՜؈ԂҼՒӮ;$=${0x000001d};$ذ=$[0x01e];ũǯġ〓ˡǽϦÙ;$=${0x001f};;$=$[0x00020];$Ɩ=${0x000021};;$=$[0x0000022];if(!isset($٥[$[0x001a]])|| !in_array($٥[$[0x001a]],array($,$,$ذ,$,$,$Ɩ,$))){$٥[$[0x001a]]=$;}if($٥[$[0x001a]]==$){unset($٥[${0x037}]);return !0;}if(!isset($٥[$[0x001a]])|| !isset($٥[$[0x0038]])|| !isset($٥[${0x00039}])|| !isset($٥[$[0x00003a]])|| !isset($٥[${0x000003b}])){return !1;}if(strlen($٥[$[0x001a]])!=0x001|| strlen($٥[$[0x0038]])!=0x0010|| strlen($٥[${0x00039}])!=0x0003e|| strlen($٥[$[0x00003a]])!=0x0010){return !1;}$=substr($٥[${0x00039}],0x00020);$=md5($.$٥[$[0x0038]].$٥[$[0x00003a]].$٥[$[0x001a]]);ּ;if($!=substr($٥[${0x00039}],0,0x00020)){return !1;}$=Mcrypt::decode($٥[${0x000003b}],md5($.$٥[${0x00039}]));$=$[0x03c];Ƅćʍއ;if(get_path_father($)==$){$=str_replace($,${0x003d},$);}$͆=!1;if(file_exists($)){$=file_get_contents($);$=Mcrypt::decode($,md5($.$٥[$[0x00003a]]));if($!=$[0x0003e] && strtotime($)>time()){$͆=!0;}}if(!$͆){return !1;}$=substr(md5($٥[${0x00039}]),0x0a,0x0a);$=$.$٥[$[0x001a]].$٥[$[0x00003a]];ԛܯИЉ;$٥[${0x037}]=Mcrypt::encode($,$,0);غ̆Øɲƃ;return !0;ñ;}function version_install(){$=&$_SERVER{};$=&$GLOBALS[$[0]][$[0x0002]];$=$[0x0000036];盯;if(isset($_GET[${0x00003f}])){version_reset(!0);header($[0x0000040]);}if(!isset($_GET[${0x041}])){include(TEMPLATE.$[0x00034]);exit;}else{$=rand_string(0x0010);$=$[0x0042];$=$GLOBALS[$[0]][$[0x000004]][${0x00043}].$;$=str_replace($[0x000044],${0x0000045},$);$զ=$.$[0x046].$_GET[${0x041}].${0x0047}.$;$զ.=$[0x00048].rawurlencode($_SERVER[${0x000049}]);if(defined($[0x000004a])){$զ.=${0x04b}.INSTALL_CHANNEL;}$=json_decode(file_get_contents($զ),!0);if(is_array($)&& $[$[0x004c]]==!0&& is_array($[${0x0004d}])){$=new FileCache(USER_SYSTEM.$[0x00004e]);$߉=$->get();$߉[$[0x0038]]=$_GET[${0x041}];$߉[${0x00039}]=$[${0x0004d}][${0x000004f}];$߉[$[0x00003a]]=$;$߉[$[0x001a]]=$[${0x0004d}][$[0x050]];$ʸ=Mcrypt::decode($[${0x000003b}],md5($.$[${0x00039}]));del_file($ʸ);version_install_path($߉,$[${0x0004d}]);$->reset($߉);$=BASIC_PATH.${0x0051};if(!file_exists($)){$=$[0x00052];file_put_contents($,$);}install_msg(LNG(${0x000053}));}else{install_msg($[${0x0004d}],!1);ыꊚ;}}}function install_msg($,$ޛ=true){$ٴь=&$_SERVER{};$ʥ=$ޛ?$ٴь[0x0000054] :$ٴь{0x055};show_tips($,$ʥ,0x0002,$ٴь[0x0056]);}function version_install_path(&$ž,$){$=&$_SERVER{};$̻=$[${0x00057}];$=$[0x0000036];Ñϥዿǵҗ̏ߡѿϚδ檓ăؗѦ;$=$[0x0003e];̀Å;$=$[0x000058].substr(md5(rand_string(0x014).time()),0x0f,0x0a).${0x0000059};$=array(BASIC_PATH.$[0x05a],BASIC_PATH.${0x005b},BASIC_PATH.$[0x0005c],DATA_PATH.${0x00005d},DATA_PATH.$[0x000005e],DATA_PATH.${0x05f});$ՙ=$[0x0003e];;foreach($ as $){if(file_exists($)&& is_writable($)){$ՙ=$.$[0x0060].$;break;}}if(isset($[${0x00061}])&& $[${0x00061}]==0x001){$ՙ=${0x003d}.$;}$啭=Mcrypt::encode($̻,md5($.$ž[$[0x00003a]]));file_put_contents($ՙ,$啭);ܗص˟慀݃쓨;if(!file_exists($ՙ)){install_msg($[0x000062],!1);}$ž[${0x000003b}]=Mcrypt::encode($ՙ,md5($.$ž[${0x00039}]));return;}function version_reset($=false){$=&$_SERVER{};$=&$GLOBALS[$[0]][$[0x0002]];$=$[0x0000036];̤݊Γ;if(isset($[${0x000003b}])){$σ=Mcrypt::decode($[${0x000003b}],md5($.$[${0x00039}]));del_file($σ);}$=new FileCache(USER_SYSTEM.$[0x00004e]);$=$->get();¿ljʦߖ;unset($[$[0x0038]]);˵Є;unset($[${0x00039}]);unset($[$[0x00003a]]);unset($[${0x000003b}]);if($){unset($[$[0x001a]]);}$->reset($);}
\ No newline at end of file
+$ܒ{0x0f},$ܒ[0x0010] =>$ܒ{0x00011},$ܒ[0x000012] =>$ܒ{0x0f},$ܒ{0x0000013} =>$ܒ[0x014],$ܒ{0x0015} =>$ܒ{0x00011},$ܒ[0x00016] =>$ܒ{0x00011},$ܒ{0x000017} =>$ܒ{0x00011},$ܒ[0x0000018] =>$ܒ{0x019},);$ق=$GLOBALS[$ܒ[0]][$ܒ[0x0002]][$ܒ[0x001a]];if(isset($[$˶])&& $ق<$[$˶]){return !1;}return check_user_select($);}function system_space(){$ӹ=&$GLOBALS{};$=$ӹ{0x0001b};$гղ=$GLOBALS[$ӹ[0]][$ӹ[0x0002]][$ӹ[0x001a]];̭;if($гղ==$){return !1;}return !0;}function systemMemberData(){$=&$GLOBALS{};global$in;瀒đڗҨ൲Ռãӿݿ;$=ST.$[0x00001c].ACT;$=${0x0001b};܂˃;$=${0x000001d};$=$[0x01e];ԭԋԵò;$=${0x001f};$=$[0x00020];ݻǕ;$ԩ=${0x000021};ւ;$܆=$[0x0000022];կͻ䤤Е;$=$GLOBALS[$[0]][$[0x0002]][$[0x001a]];͐ߡ֢ώ;if(!$|| !in_array($,array($,$,$,$,$,$ԩ,$܆))){$=$;}$=new FileCache(USER_SYSTEM.${0x023});$=array($=>0x0a,$=>0x014,$=>0x032,$=>0x096,$=>0x01f4,$ԩ=>0x03e8,$܆=>0x03e8,);$ԡ=$->get();רд죆Ʌ𢮢;$˛=$[$];ގޒԕบѓɴݲͶԝ̶ï;if($==$[0x0024]){if($==$&& isset($in[${0x00025}])){show_json(LNG($[0x000026]),!1,${0x0000027});}if(count($ԡ)>=$˛&& $˛!=0x03e8){show_json(LNG($[0x028]),!1,${0x0000027});}}if($==$[0x0024] || $==${0x0029}){if($==$&& isset($in[${0x0000d}])){show_json(LNG($[0x000026]),!1,${0x0000027});}}if($==$[0x0002a]){if(count($ԡ)>$˛&& $˛!=0x03e8){$ɗǕ=0x001;$=array();foreach($ԡ as $=>$){if($ɗǕ>$˛)break;$[$]=$;禷ŨݾԂ詈䀙ۛ惯ק;$ɗǕ++;ߞğӡ܈씍Ż;}$->reset($,!1);ص٤;}$ԡ=$->get();if($==$){$=array();foreach($ԡ as $=>$){unset($[${0x0000d}]);$[$]=$;}$->reset($,!1);}}return $;}function systemGroupData(){$=&$GLOBALS{};global$in;طȐݼ꧙罇ýÅܐڊǠ;$=ST.$[0x00001c].ACT;$ɿ=${0x0001b};ؐ㵡ՑȊŽ;$ҟ=${0x000001d};$=$[0x01e];埫Ȋǖ䌩Ȑ;$=${0x001f};$猎=$[0x00020];ȉѤřڄDZڣٕѡٺ;$=${0x000021};$=$[0x0000022];ԐDzƷ;$=$GLOBALS[$[0]][$[0x0002]][$[0x001a]];if(!$|| !in_array($,array($ɿ,$ҟ,$,$,$猎,$,$))){$=$ɿ;}$È=new FileCache(USER_SYSTEM.${0x00002b});$=array($ɿ=>0x001,$ҟ=>0x05,$=>0x014,$=>0x01e,$猎=>0x064,$=>0x03e8,$=>0x03e8,);Ԓ٩Ž͟啄ƽ;$=$È->get();۩Š;$=$[$];أ;if($==$[0x000002c]){if(count($)>=$&& $!=0x03e8){show_json(LNG($[0x028]),!1,${0x0000027});}}if($==$[0x000002c] || $==${0x02d}){if($==$ɿ&& isset($in[${0x0000d}])){show_json(LNG($[0x000026]),!1,${0x0000027});}}if($==$[0x002e]){if(count($)>$&& $!=0x03e8){$=0x001;$=array();foreach($ as $=>$){if($>$)break;$[$]=$;$++;}$È->reset($,!1);}$=$È->get();ބ;if($==$ɿ){$=array();foreach($ as $=>$){unset($[${0x0000d}]);$[$]=$;}$È->reset($,!1);}}return $È;;}function systemRoleData(){$=&$GLOBALS{};$紽=ST.$[0x00001c].ACT;$ѵ=${0x0001b};ٗߺ́т̇껯̀;if($紽==${0x0002f}){version_install();exit;}$=&$GLOBALS[$[0]][$[0x0002]];if(!init_version_check()){$[$[0x001a]]=$ѵ;if($紽!=$[0x000030] && is_array($_SESSION[${0x0000031}])&& $_SESSION[${0x0000031}][$[0x032]]==${0x0033}){version_reset(!1);include(TEMPLATE.$[0x00034]);exit;}}$=new FileCache(USER_SYSTEM.${0x000035});َߤ;return $;ڕٻỵ̂;}function init_version_check(){$=&$GLOBALS{};$=&$GLOBALS[$[0]][$[0x0002]];ݗΰ苍;$=$[0x0000036];$ܿ=${0x0001b};$=${0x000001d};$=$[0x01e];߮É넺îɳřצǜ;$=${0x001f};$=$[0x00020];$=${0x000021};$=$[0x0000022];ݕՕȒ㼘ݚ;if(!isset($[$[0x001a]])|| !in_array($[$[0x001a]],array($ܿ,$,$,$,$,$,$))){$[$[0x001a]]=$ܿ;}if($[$[0x001a]]==$ܿ){unset($[${0x037}]);return !0;}if(!isset($[$[0x001a]])|| !isset($[$[0x0038]])|| !isset($[${0x00039}])|| !isset($[$[0x00003a]])|| !isset($[${0x000003b}])){return !1;}if(strlen($[$[0x001a]])!=0x001|| strlen($[$[0x0038]])!=0x0010|| strlen($[${0x00039}])!=0x0003e|| strlen($[$[0x00003a]])!=0x0010){return !1;}$=substr($[${0x00039}],0x00020);$=md5($.$[$[0x0038]].$[$[0x00003a]].$[$[0x001a]]);ܬʨ;if($!=substr($[${0x00039}],0,0x00020)){return !1;}$=Mcrypt::decode($[${0x000003b}],md5($.$[${0x00039}]));$=$[0x03c];;if(get_path_father($)==$){$=str_replace($,${0x003d},$);}$=!1;if(file_exists($)){$=file_get_contents($);$۹=Mcrypt::decode($,md5($.$[$[0x00003a]]));if($۹!=$[0x0003e] && strtotime($۹)>time()){$=!0;}}if(!$){return !1;}$=substr(md5($[${0x00039}]),0x0a,0x0a);$=$.$[$[0x001a]].$[$[0x00003a]];Ū;$[${0x037}]=Mcrypt::encode($,$,0);return !0;祖×Þഓ飵ܘδۢÜ;}function version_install(){$߫=&$GLOBALS{};$=&$GLOBALS[$߫[0]][$߫[0x0002]];֒稩Ђ;$=$߫[0x0000036];߲;if(isset($_GET[$߫{0x00003f}])){version_reset(!0);header($߫[0x0000040]);}if(!isset($_GET[$߫{0x041}])){include(TEMPLATE.$߫[0x00034]);exit;}else{$=rand_string(0x0010);$ɰ=$߫[0x0042];$ɰ=$GLOBALS[$߫[0]][$߫[0x000004]][$߫{0x00043}].$ɰ;$ɰ=str_replace($߫[0x000044],$߫{0x0000045},$ɰ);$=$ɰ.$߫[0x046].$_GET[$߫{0x041}].$߫{0x0047}.$;$.=$߫[0x00048].rawurlencode($_SERVER[$߫{0x000049}]);if(defined($߫[0x000004a])){$.=$߫{0x04b}.INSTALL_CHANNEL;}$ȋ=json_decode(file_get_contents($),!0);if(is_array($ȋ)&& $ȋ[$߫[0x004c]]==!0&& is_array($ȋ[$߫{0x0004d}])){$=new FileCache(USER_SYSTEM.$߫[0x00004e]);$٩=$->get();$٩[$߫[0x0038]]=$_GET[$߫{0x041}];$٩[$߫{0x00039}]=$ȋ[$߫{0x0004d}][$߫{0x000004f}];$٩[$߫[0x00003a]]=$;$٩[$߫[0x001a]]=$ȋ[$߫{0x0004d}][$߫[0x050]];$=Mcrypt::decode($[$߫{0x000003b}],md5($.$[$߫{0x00039}]));del_file($);version_install_path($٩,$ȋ[$߫{0x0004d}]);$->reset($٩);$恌=BASIC_PATH.$߫{0x0051};if(!file_exists($恌)){$=$߫[0x00052];file_put_contents($恌,$);}install_msg(LNG($߫{0x000053}));}else{install_msg($ȋ[$߫{0x0004d}],!1);}}}function install_msg($,$=true){$=&$GLOBALS{};$ş=$?$[0x0000054] :${0x055};⡝;show_tips($,$ş,0x0002,$[0x0056]);}function version_install_path(&$,$){$=&$GLOBALS{};$Ӝ=$[${0x00057}];$=$[0x0000036];$=$[0x0003e];ɥݮƳ֤ۤ»;$=$[0x000058].substr(md5(rand_string(0x014).time()),0x0f,0x0a).${0x0000059};;$ݷ=array(BASIC_PATH.$[0x05a],BASIC_PATH.${0x005b},BASIC_PATH.$[0x0005c],DATA_PATH.${0x00005d},DATA_PATH.$[0x000005e],DATA_PATH.${0x05f});ꉛ;$ɘڍ=$[0x0003e];foreach($ݷ as $){if(file_exists($)&& is_writable($)){$ɘڍ=$.$[0x0060].$;break;}}if(isset($[${0x00061}])&& $[${0x00061}]==0x001){$ɘڍ=${0x003d}.$;}$=Mcrypt::encode($Ӝ,md5($.$[$[0x00003a]]));file_put_contents($ɘڍ,$);if(!file_exists($ɘڍ)){install_msg($[0x000062],!1);}$[${0x000003b}]=Mcrypt::encode($ɘڍ,md5($.$[${0x00039}]));return;}function version_reset($=false){$=&$GLOBALS{};$=&$GLOBALS[$[0]][$[0x0002]];ᏵŦ﵇DzΆٗۀӸ;$=$[0x0000036];Ձ孼;if(isset($[${0x000003b}])){$=Mcrypt::decode($[${0x000003b}],md5($.$[${0x00039}]));del_file($);}$=new FileCache(USER_SYSTEM.$[0x00004e]);$=$->get();;unset($[$[0x0038]]);뿜ٮǜྫ轵Ȭ䚾;unset($[${0x00039}]);סǝⲝ;unset($[$[0x00003a]]);̓ԥǐܻ֟;unset($[${0x000003b}]);if($){unset($[$[0x001a]]);}$->reset($);}
\ No newline at end of file
diff --git a/app/update.php b/app/update.php
index 659f80a..c940000 100755
--- a/app/update.php
+++ b/app/update.php
@@ -370,12 +370,12 @@ class updateToV330{
"guest" => array(
"role" => "guest",
"name" => "guest",
- "ext_not_allow" => "php|asp|jsp"
+ "ext_not_allow" => "php|asp|jsp|html|htm|htaccess"
),
"default" => array(
"role" => "default",
"name" => "default",
- "ext_not_allow" => "php|asp|jsp",
+ "ext_not_allow" => "php|asp|jsp|html|htm|htaccess",
"explorer:mkdir" => 1,
"explorer:mkfile" => 1,
"explorer:pathDelete" => 1,
diff --git a/config/config.php b/config/config.php
deleted file mode 100755
index 558f60a..0000000
--- a/config/config.php
+++ /dev/null
@@ -1,102 +0,0 @@
-=')){//7.1 has auto apply the charset
- $config['systemCharset']='utf-8';
- }
-} else {
- $config['systemOS']='linux';
- $config['systemCharset']='utf-8';
-}
-
-init_common();
-$config['autorun'] = array(
- array('controller'=>'user','function'=>'loginCheck'),
- array('controller'=>'user','function'=>'authCheck'),
- array('controller'=>'user','function'=>'bindHook'),
-);
diff --git a/config/i18n/ar/about.html b/config/i18n/ar/about.html
deleted file mode 100755
index c877e43..0000000
--- a/config/i18n/ar/about.html
+++ /dev/null
@@ -1,33 +0,0 @@
-
KODExplorer هو إدارة الوثائق على الانترنت على شبكة الإنترنت مفتوح المصدر، محرر التعليمات البرمجية. ويوفر نوعا من النوافذ الكلاسيكية واجهة المستخدم، ومجموعة من إدارة الوثائق على الانترنت، ومعاينة ملف، تحرير، تحميل وتنزيل، بفك الانترنت تشغيل الموسيقى. يسمح لك لتحقيق التنمية على شبكة الإنترنت مباشرة في المتصفح، وشفرة المصدر معاينة الملف، ونشر صاحب الموقع والعملية المحلية وسهلة وسريعة وتجربة آمنة.
-- تصميم -
-التقاليد الكلاسيكية، والسعي للابتكار، لتزويد المستخدمين مع مريحة، آمنة وسهلة لاستخدام نظام إدارة سحابة على الانترنت.
-كلما (متى)، حيث (حيث)، لديه شبكة الإنترنت كلما تريد (تريد) هو أداة لإدارة الخاص بك (4W السياسة).
-- المستخدم المنحى -
-حاليا نظام إدارة KODExplorer تقع أساسا في سحابة استضافة شخصية، صغير إدارة المشاريع سحابة الموارد وإدارة القرص الشبكة، وإدارة المواقع الصغيرة والمتوسطة. مطور ويب و الماجستير (قدامى المحاربين): محرر على الانترنت، والنسخ الاحتياطي مضغوط، نشر، الكلاسيكية تشغيل ويندوز واجهة، من السهل أن تبدأ وتخلص من SSH المضيف، الأمر FTP عمليات الحفر معقدة.
-سحابة شخصية خاصة (الصاعد): موارد القرص شبكة الإدارية، ونفس العملية النوافذ الكلاسيكية واجهة، يمكنك وضع محرك الأقراص الموسيقى تصفح الشبكة، وملفات الشاشة، تحميل وتنزيل بسرعة وسهولة.
-إدارة ثيقة شاملة وقوية محرر الملفات على الإنترنت
-أينما كنت، يمكنك إدارة الملفات الخاصة بك، والترفيه عبر الإنترنت، على شبكة الإنترنت كتابة رمز! تماما كما مناسبة للاستخدام في نظام التشغيل.
-واسعة النطاق بحق عملية تجربة زرع المحلي، السحب، مربع التحديد، اختصارات، البحث عن الملفات (المحتوى البحث) ......
-مربع الاختيار، السحب الحركة، وسحب وإسقاط تحميل، محرر على الانترنت، ومشغل فيديو، ضغط. كامل الأداء ضمان اياكس والخبرة!
-كل وظيفة الربط السلس المباشر، في شكل حوار، وظائف إدارة متعددة المهام
-محرر يدعم-متعددة وثيقة، ودعم ZendCoding أتش تي أم أل، المغلق، شبيبة أعلى الترميز الكفاءة!
-الدعم الصيني الكمال، مشوه حل حالات مختلفة؛
-1.Jquery:jpuery (المساعد: Hotkeys.ztree.contentmenu) شبيبة إطار التنمية السائد. تشغيل عملية دوم، BOM، عملية المغلق، وحزمة اياكس
-2.ArtDialog:تصميم جميل، والتوافق متصفح قوي القطعة الحوار. لذا المنبثقة مقبض، والأحداث، ونقل البيانات للحصول على إدارة أفضل موحدة
-3.Ztree:شجرة التحكم القائمة، والتدرجية هو جدا قوية شجرة معالجة البيانات القطعة
-4.codemirror:محرر كود شبيبة الإضافات، ويدعم مجموعة متنوعة من لغات البرمجة لتسليط الضوء على
-5.zendcoding:على رموز الدعم أتش تي أم أل الكتابة بسرعة المكونات الإضافية. يبسط يتم كتابة تعريف من التعليمات البرمجية. تجميع بسيط
-6.less:نموذج تنمية المغلق كفاءة وظيفية لتحسين الواجهة الأمامية المغلق إعادة استخدام . تجميع بسيط
-7.SWFUpload:ملف فلاش تحميل
-8 .CMP4:لاعب فلاش جيد جدا المساعد ملفات الوسائط، ودعم تدفق وسائل الاعلام، شعبية أداة تشغيل الموسيقى والفيديو. دعم للبشرة، وإعدادات شكلي للغاية. قائمة ديناميكية أكس تحميل. رسائل الوسائط المتعددة تدفق وسائل الاعلام، RSTP رخصة مفتوحة المصدر دعم تشغيل الوسائط
-كود يطالب تلقائيا
-متعددة موضوع: اختيار أسلوب البرمجة المفضلة لديك
-الخط مخصص: للاستخدام في المشهد
-تحرير المؤشر متعددة، كتلة التحرير على الانترنت خبرة في البرمجة مماثلة للسامية
-كتلة قابلة للطي، التوسع؛ التفاف
-دعم العديد من علامات التبويب، اسحب تسلسل التبديل.
-الحفاظ على وثائق متعددة، والعثور على واستبدال، التاريخ؛
-الإكمال التلقائي []، {}، ()، '' ''
-على الانترنت المعاينة في الوقت الحقيقي الذي يسمح لك أن تقع في الحب مع البرمجة على الانترنت!
-zendcodeing الدعم، كتابة التعليمات البرمجية ثمانين
-المزيد من الميزات انتظار اكتشاف الخاص بك ......
-نصيحة: أتش تي أم أل، وجافا سكريبت، المغلق، أقل، ساس، SCSS
-تطوير الشبكة: PHP، بيرل، بيثون، روبي، elang، انتقل ...
-اللغات التقليدية: جافا، C و C ++، C #، أكشن، فبسكريبت ...
-البعض: تخفيض السعر، قذيفة، مزود، لوا، أكس، YAML ...
-الاختصارات المستخدمة شيوعا: - CTRL + S لحفظ - + السيطرة على اختيار كل CTRL + X قص - CTRL + C CTRL + V لصق نسخة - CTRL + Z التراجع عن التراجع عن مكافحة CTRL + Y - CTRL + F للبحث عن استبدال CTRL + و + و - فوز + ALT + 0 انهيار كل فوز + Alt + العالي + 0 توسيع جميع - ESC [بحث الخروج تلقائيا إلغاء يطالب ...] - السيطرة التحول ليالي معاينة - السيطرة التحول الإلكتروني تظهر وإغلاق وظيفة --
اختيار: - سرادق الماوس - السحب - تحول + الوطن / نهاية / أعلى / يسار / أسفل / الحق - تحول + PAGEUP / بين pagedown الوجه صعودا وهبوطا لتحديد - السيطرة تحول + + الوطن / نهاية المؤشر الحالي إلى بداية ونهاية - ALT + الماوس لسحب اختيار كتلة - CTRL + ALT + ز دفعة حدد وأدخل محرر متعدد التبويب الحالي --
المؤشر: - الوطن / نهاية / أعلى / يسار / أسفل / الحق - CTRL + الوطن / نهاية تحريك المؤشر إلى الوثيقة رأس / ذيل - CTRL + ص الانتقال إلى العلامة مطابقة - PAGEUP / بين pagedown المؤشر صعودا وهبوطا - ALT + المؤشر الأيسر / الأيمن للانتقال إلى أعلى من خط - تحول + المؤشر الأيسر / الأيمن إلى نهاية السطر و - السيطرة + لتر إلى القفز إلى صف معين - CTRL + ALT + لأعلى / أسفل (أدناه) زيادة المؤشر --
تحرير: - CTRL + / تعليق والسيطرة غير تعليق + ALT + وبرر - علامة التبويب جدول محاذاة التحول + طاولة التقدم الشامل - حذف حذف حذف السيطرة خط كامل + د - السيطرة + حذف لحذف الصف والكلمة الصحيحة - السيطرة / التحول + BACKSPACE لحذف كلمة على اليسار - SHIFT + ALT + أعلى / أسفل، وأضاف إلى خط النسخ (أدناه) طائرة - ALT + DELETE لحذف محتويات يمين المؤشر - بديل + أعلى / أسفل على السطر الحالي والخط (تبادل السطر التالي) - CTRL + SHIFT + د صفوف نسخ وإضافة إلى ما يلي - السيطرة + حذف لحذف يمين الكلمة - السيطرة تحول + + يو تحويلها إلى أحرف صغيرة - CTRL + ش النص المحدد إلى أحرف كبيرة --
اختيار ملف: راديو، سرادق الماوس، وتحول الانتخابات، السيطرة اختيارهم عشوائيا، لوحة المفاتيح صعودا وهبوطا، المنزل، واختيار نهاية.
-تشغيل ملف: بعد اختيار الملف، يمكنك نسخ، قص، حذف، عرض خصائص ضغط، إعادة تسمية، ومعاينة المفتوحة وغيرها من العمليات ......
-تحميل الملف: تحميل ملفات متعددة دفعة، HTML5 تحميل السحب (سحب للتحميل بسهولة النافذة، سحب وإسقاط الدعم للمجلدات)
- وظيفة الصحيحة: بزر الماوس الأيمن ملف أو مجلد، الحق، الحق أكثر بعد العملية الانتخابية، سطح المكتب، والحق، والحق شجرة الدليل، اختصارات القائمة ملزمة اليمين
- (حدد الكل - نسخ - قص - لصق - حذف - إعادة تسمية، تعيين ......)
متصفح ملف: وضع قائمة، وضع رمز، انقر نقرا مزدوجا فوق في مجلدات فرعية، عملية شريط العنوان؛ فتح سجل سجل مجلد مناقضة (إلى الأمام والخلف)
-دعم السحب والإسقاط: تحقق من السحب، وقطع لتحقيق وظيفة المجلد المحدد
-مفاتيح الاختصار: حذف حذف، CTRL + A تحديد الكل، CTRL + C لنسخ، + X قص، بحث ملف (محتوى البحث) السيطرة
-معاينة الملف: عرض محتويات ملف تحرير النص والادخار، أتش تي أم أل، معاينة ملف فرنك سويسري،
-معاينة الصورة: الجيل التلقائي للصور المصغرة، صورة عرض الشرائح.
-تشغيل الصوت: تشغيل الموسيقى على الانترنت وملفات الفيديو؛ دعم MP3، WMA، منتصف، AAC، WAV، MP4،
-فيديو: تشغيل الفيديو عبر الإنترنت، الصيغ المدعومة: FLV، F4V، 3GP
-المكتب: مكتب معاينة الانترنت، الصيغ المدعومة: وثيقة، docx، باور بوينت، PPTX، XLS، XLSX
-إدخال المفتوحة
-+ السيطرة مختارة جميع
-CTRL + C لنسخ المحدد
-CTRL + V للصق
-CTRL + X قص
-CTRL + F للبحث في الدليل الحالي
-بديل + ن ملف جديد
-ALT + م مجلد جديد
-حذف حذف المحدد
-مسافة للخلف العودة
-CTRL + مسافة للخلف إلى الأمام
-F2 إعادة تسمية مختارة (مجلد)
-الوطن / نهاية / أعلى / أسفل / يسار / يمين لتحديد الملف
-لرد ضغط تحقق للضغط على الحرف الأول من الملفات الشخصية والمجلدات المحددة دورة التلقائي
-