From 009669eaa4852b9afd0fbd08bb77c41c9b0889a8 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 28 Oct 2019 17:04:11 +0100 Subject: [PATCH] Avoided memory issue --- wcfsetup/install/files/lib/acp/page/IndexPage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/page/IndexPage.class.php b/wcfsetup/install/files/lib/acp/page/IndexPage.class.php index f696acf23b..daa34c1896 100755 --- a/wcfsetup/install/files/lib/acp/page/IndexPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/IndexPage.class.php @@ -119,7 +119,7 @@ class IndexPage extends AbstractPage { ENABLE_DEBUG_MODE && ENABLE_DEVELOPER_TOOLS && file_exists(WCF_DIR . 'log/missingLanguageItems.txt') - && mb_strlen(StringUtil::trim(file_get_contents(WCF_DIR . 'log/missingLanguageItems.txt'))) > 0 + && filesize(WCF_DIR . 'log/missingLanguageItems.txt') > 0 ) { $missingLanguageItemsMTime = filemtime(WCF_DIR . 'log/missingLanguageItems.txt'); } -- 2.20.1