* [refac] fix php undefined property warning.

This commit is contained in:
sunhao
2024-11-01 14:30:59 +08:00
committed by 谢杞钰
parent 0a20318dc1
commit 1ace27fe71
+1
View File
@@ -109,6 +109,7 @@ class docApp extends wg
* Setting language data for frontend. Use getLang('xxx') in js/app.ui.js.
* 设置前端语言数据。 在 js/app.ui.js 中使用 getLang('xxx') 来访问语言数据。
*/
$app->loadLang('file');
$langData = $lang->doc->docLang;
$langData->filePreview = $lang->file->preview;
$langData->fileDownload = $lang->file->download;