From 4bd93a8070af74c08ea1cea7857d4306aaa27d28 Mon Sep 17 00:00:00 2001 From: gd1214b <37929478+gd1214b@users.noreply.github.com> Date: Fri, 10 Sep 2021 18:04:44 +0800 Subject: [PATCH] Update conststr.php --- conststr.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/conststr.php b/conststr.php index 8980ec7..3914a8c 100644 --- a/conststr.php +++ b/conststr.php @@ -7,7 +7,7 @@ $exts['img'] = ['ico', 'bmp', 'gif', 'jpg', 'jpeg', 'jpe', 'jfif', 'tif', 'tiff' $exts['music'] = ['mp3', 'wma', 'flac', 'ape', 'wav', 'ogg', 'm4a']; $exts['office'] = ['doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx']; $exts['txt'] = ['txt', 'bat', 'sh', 'php', 'asp', 'js', 'css', 'json', 'html', 'c', 'cpp', 'md', 'py', 'omf']; -$exts['video'] = ['mp4', 'webm', 'mkv', 'mov', 'flv', 'blv', 'avi', 'wmv', 'm3u8', 'rm', 'rmvb']; +$exts['video'] = ['mp4', 'webm', 'mkv', 'mov', 'flv', 'blv', 'avi', 'wmv', 'm3u8', 'rm', 'ts', 'rmvb']; $exts['zip'] = ['zip', 'rar', '7z', 'gz', 'tar']; $constStr = [ @@ -105,6 +105,8 @@ $constStr = [ 'background' => 'Set an url as background photo.', 'backgroundm' => 'Set an url as background in mobile phone.', 'forceHttps' => 'if 1, force to redirect to https when visit via http.', + 'fileConduitCacheTime' => 'Input number, unit is hour, if set this, little file<1M(or fileConduitSize) will through program and cache in explorer, otherwise, default 302 to Microsoft', + 'fileConduitSize' => 'Input number, unit is M(suggest less than 4M), if set this, little file 'Select theme for guest.', 'timezone' => 'Set default timezone.', 'guestup_path' => 'Set guest upload dir, before set this, the files in this dir will show as normal.', @@ -132,7 +134,9 @@ $constStr = [ 'useBasicAuth' => '如果为 1,加密目录将弹出用户名密码窗口,不会显示主题自带的输入密码页面。', 'background' => '设置一个url作为背景。', 'backgroundm' => '设置一个url作为手机端用的背景。', - 'forceHttps' => '0或1。如果设置为1,会强制跳转https', + 'forceHttps' => '0或1。如果设置为1,会强制跳https', + 'fileConduitCacheTime' => '填数字,单位是小时,如果设置,小于1M(或fileConduitSize)的小文件会从程序通过然后缓存在浏览器,不然,默认302跳微软', + 'fileConduitSize' => '填数字,单位是M(建议4M以下),如果设置,小于这个值的小文件会从程序通过然后缓存在浏览器,不然,默认302跳微软', 'theme' => '为游客选择一个主题。', 'timezone' => '设置默认时区。', 'guestup_path' => '设置游客上传路径(图床路径),不设置这个值时该目录内容会正常列文件出来,设置后只有上传界面,不显示其中文件(登录后显示)。', @@ -232,7 +236,7 @@ $constStr = [ 'sitename' => 'نام سایت', ], 'ar-sa' => [ - 'admin' => ' إدارة كلمة السر ، لا يمكنك عرض صفحة تسجيل الدخول دون إضافة', + 'admin' => ' إدارة كلمة السر ، لا يمكنك عرض صفحة تسجيل الدخول دون إضافة', 'adminloginpage' => 'إذا كان الإعداد ، زر تسجيل الدخول و الصفحة المخفية إدارة صفحة تسجيل الدخول لم تعد قيمة هذا الإعداد ؟', 'autoJumpFirstDisk' => 'على أقراص متعددة ، إذا كان واحد ، ثم الانتقال تلقائيا إلى القرص الأول', 'customScript' => 'في جميع الصفحات ، على سبيل المثال ، وضع النص المتشعب القفز HTTPS',