no message

This commit is contained in:
kuaifan
2023-02-18 23:11:36 +08:00
parent ed53234dc7
commit 95431a7876
26 changed files with 4916 additions and 4654 deletions

View File

@@ -1461,7 +1461,7 @@ class Base
}
}
//
$undefinedPath = base_path('language/api.undefined.txt');
$undefinedPath = base_path('language/undefined-api.txt');
if (self::$undefinedLang === null) {
self::$undefinedLang = [];
if (file_exists($undefinedPath)) {
@@ -1471,7 +1471,7 @@ class Base
}
if (!in_array($val, self::$undefinedLang)) {
self::$undefinedLang[] = $val;
@file_put_contents(base_path('language/api.undefined.txt'), "$val\n", FILE_APPEND);
@file_put_contents(base_path('language/undefined-api.txt'), "$val\n", FILE_APPEND);
}
return $val;
}