From: Marcel Werk Date: Mon, 28 Oct 2019 16:04:11 +0000 (+0100) Subject: Avoided memory issue X-Git-Tag: 5.2.0_Beta_3~28 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=009669eaa4852b9afd0fbd08bb77c41c9b0889a8;p=GitHub%2FWoltLab%2FWCF.git Avoided memory issue --- 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'); }