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

View File

@@ -1,6 +1,6 @@
<?php
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.9.0');
defined('RELEASE_DATE') || define('RELEASE_DATE', '2025-02-06');
defined('RELEASE_DATE') || define('RELEASE_DATE', '2025-02-15');
defined('IN_TRACKER') || define('IN_TRACKER', false);
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");

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;