-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- สนับสนุน PHP8 - สนับสนุน MYSQL8 - สนับสนุน IPV6, สนับสนุนไลบรารี IP หลายตัว, สนับสนุนการเข้าถึง IP ในโหมด CDN ต่าง ๆ และสนับสนุนโหมดการเข้าถึงข้อมูลที่เพิ่มขึ้นจากโหมดปกติ - สนับสนุน UTF8MB4 (จงใช้อิโมจิกันโดยพลัน และสนับสนุนชุดอักขระเพิ่มเติม) - สนับสนุน InnoDB (ฐานข้อมูลคลาวด์มีการแนะนำให้ใช้งานอย่างแพร่หลาย) - สนับสนุน การสลับใช้งานฟังก์ชันโมดูลเต็มรูปแบบ (รวมไปถึงเว็บบอร์ด ต่อจากนี้ไป Discuz! X จะไม่ใช่แค่เว็บบอร์ดอย่างเดียว แต่เป็นระบบสร้างเว็บไซต์เต็มรูปแบบ) - สนับสนุน HTTPS ให้มีประสิทธิภาพกว่าเดิม - เพิ่ม ระบบชำระเงินใหม่ (ใช้ได้แค่ประเทศจีน ไม่มีไทย) มีชำระเงินด้วย WeChat, Alipay และ QQ Wallet ในตัว สนับสนุนการเชื่อมต่อการชำระเงินแพลตฟอร์มอื่น ๆ - ปรับปรุง ฐานข้อมูลจังหวัด อำเภอ ตำบล (จาก ThepExcel ปรับปรุงปี 2022) พร้อมทั้งรายชื่อประเทศ 199 ประเทศและ 52 ดินแดน (จากสำนักงานราชบัณฑิตยสภา 29 มิถุนายน 2565) - ปรับปรุง ตัวแปลงไอพีเป็นชื่อประเทศ (GeoIP2) จาก MaxMind's GeoLite2 City ซึ่งสามารถระบุความละเอียดตำแหน่งที่ตั้งของไอพีในระดับ เขต/อำเภอ จังหวัด และประเทศ - ปรับปรุง BBcode Spoiler โฉมใหม่ - ปรับปรุง ระบบปกป้องขั้นพื้นฐานในตัว และสนับสนุนการเชื่อมต่อ SMS ของบุคคลที่สามโดยผ่านอินเทอร์เฟซ - ปรับปรุง โหมดรุ่นมือถือแบบใหม่ ไฉไลกว่าเดิม - ปรับปรุง ระบบหลังบ้าน (AdminCP) โฉมใหม่ - ปรับปรุง UX/UI ต่าง ๆ ในเว็บเพื่อให้เข้ากับสภาพแวดล้อมของประเทศไทยทั้งหมด (เช่น การสลับตำแหน่งคำภาษาจีน ให้เป็นของภาษาไทยในส่วนต่าง ๆ ของเว็บ เป็นต้น) - ยกเลิก การใช้ Flash ถาวร และขอต้อนรับ HTML5 เต็มรูปแบบ
- Loading branch information
1 parent
8b1d106
commit a20b88b
Showing
2,788 changed files
with
63,636 additions
and
58,693 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,33 @@ | ||
# เปิดโหมด RewriteEngine | ||
RewriteEngine On | ||
|
||
# ถ้าไฟล์ดิสคัสไม่ได้เก็บไว้ในซับโฟลเดอร์ กรุณาลบ /discuz ถ้าไฟล์ดิสคัสถูกเก็บไว้ในซับโฟลเดอร์ กรุณาแก้ไข /discuz เป็นชื่อโฟลเดอร์ที่เก็บไฟล์ดิสคัส และหากดิสคัสถูกต้องตั้งใน Root ให้เปลี่ยนค่าเป็น "/" | ||
# ตัวอย่าง ถ้าเว็บไซต์เป็น www.discuz.net/bbs/ จะต้องตั้งค่าเป็น RewriteBase /bbs/ หากไฟล์ดิสคัสอยู่ในโฟลเดอร์ราก (ROOT) ให้ตั้งค่าเป็น RewriteBase / | ||
RewriteBase / | ||
|
||
# เงื่อนไข Rewrite ไม่ควรแก้ไขค่าระบบ | ||
# หากไม่มีความจำเป็น ไม่ควรแก้ไขค่า Rewrite | ||
RewriteCond %{QUERY_STRING} ^(.*)$ | ||
RewriteRule ^topic/(.+)$ portal.php?mod=topic&topic=$1&%1 | ||
RewriteRule ^topic/(.+)/$ portal.php?mod=topic&topic=$1&%1 | ||
RewriteCond %{QUERY_STRING} ^(.*)$ | ||
RewriteRule ^article/([0-9]+)/([0-9]+)$ portal.php?mod=view&aid=$1&page=$2&%1 | ||
RewriteRule ^article/([0-9]+)/([0-9]+)/$ portal.php?mod=view&aid=$1&page=$2&%1 | ||
RewriteCond %{QUERY_STRING} ^(.*)$ | ||
RewriteRule ^forum/(\w+)/([0-9]+)$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1 | ||
RewriteRule ^forum/(\w+)/([0-9]+)/$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1 | ||
RewriteCond %{QUERY_STRING} ^(.*)$ | ||
RewriteRule ^thread/([0-9]+)/([0-9]+)/([0-9]+)$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1 | ||
RewriteRule ^thread/([0-9]+)/([0-9]+)/([0-9]+)/$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1 | ||
RewriteCond %{QUERY_STRING} ^(.*)$ | ||
RewriteRule ^group/([0-9]+)/([0-9]+)$ forum.php?mod=group&fid=$1&page=$2&%1 | ||
RewriteRule ^group/([0-9]+)/([0-9]+)/$ forum.php?mod=group&fid=$1&page=$2&%1 | ||
RewriteCond %{QUERY_STRING} ^(.*)$ | ||
RewriteRule ^space/(username|uid)/(.+)$ home.php?mod=space&$1=$2&%1 | ||
RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1 | ||
RewriteCond %{QUERY_STRING} ^(.*)$ | ||
RewriteRule ^blog/([0-9]+)/([0-9]+)$ home.php?mod=space&uid=$1&do=blog&id=$2&%1 | ||
RewriteRule ^blog/([0-9]+)/([0-9]+)/$ home.php?mod=space&uid=$1&do=blog&id=$2&%1 | ||
RewriteCond %{QUERY_STRING} ^(.*)$ | ||
RewriteRule ^(fid|tid)/([0-9]+)$ archiver/index.php?action=$1&value=$2&%1 | ||
RewriteRule ^archiver/(fid|tid)/([0-9]+)$ archiver/index.php?action=$1&value=$2&%1 | ||
RewriteRule ^archiver/(fid|tid)/([0-9]+)/$ archiver/index.php?action=$1&value=$2&%1 | ||
RewriteCond %{QUERY_STRING} ^(.*)$ | ||
RewriteRule ^([a-z]+[a-z0-9_]*)/([a-z0-9_\-]+)$ plugin.php?id=$1:$2&%1 | ||
RewriteRule ^([a-z]+[a-z0-9_]*)/([a-z0-9_\-]+)$ plugin.php?id=$1:$2&%1 | ||
RewriteRule ^([a-z]+[a-z0-9_]*)/([a-z0-9_\-]+)/$ plugin.php?id=$1:$2&%1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
if(phpversion() >= '5.3') { | ||
include 'zendcheck53.php'; | ||
} else { | ||
include 'zendcheck52.php'; | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php @Zend; | ||
4123; | ||
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php @Zend; | ||
3074; | ||
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
require_once '../../source/class/class_core.php'; | ||
|
||
$discuz = C::app(); | ||
$discuz->init(); | ||
if(getgpc('m') !== 'user' || getgpc('a') !== 'rectavatar') { | ||
exit; | ||
} | ||
loaducenter(); | ||
if(!UC_AVTPATH) { | ||
$avtpath = './data/avatar/'; | ||
} else { | ||
$avtpath = str_replace('..', '', UC_AVTPATH); | ||
} | ||
define('UC_UPAVTDIR', realpath(DISCUZ_ROOT.$avtpath).'/'); | ||
if(!empty($_G['uid'])) { | ||
echo uc_rectavatar($_G['uid']); | ||
} else { | ||
echo uc_rectavatar(0); | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.