API: upload sections list

This commit is contained in:
xiaomlove
2025-02-15 03:15:45 +08:00
parent 0d7cbcde9f
commit c9b2237efd
16 changed files with 262 additions and 10 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ use Illuminate\Support\Str;
function get_langfolder_cookie($transToLocale = false)
{
global $deflang;
$deflang = \App\Models\Setting::getDefaultLang();
$lang = "";
if (!isset($_COOKIE["c_lang_folder"])) {
$lang = $deflang;