From e7812e9c6246cfe690074f477da0873d2ace85cd Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Tue, 31 Oct 2006 05:03:54 +0000 Subject: [PATCH] lib/textlib.class: Cache dir is now created correctly, allowing speed increase (SR# 595) Previous logic had dir created only when mbstring wasn't used, but the typo3 lib needs to cache some data regardless, for the specCharsToASCII function, which uses internal translation tables. Author: Luke Hudson --- lib/textlib.class.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/textlib.class.php b/lib/textlib.class.php index add5e0649a..d80ceb5170 100644 --- a/lib/textlib.class.php +++ b/lib/textlib.class.php @@ -46,11 +46,12 @@ $GLOBALS['TYPO3_CONF_VARS']['SYS']['t3lib_cs_utils'] = 'mbstring'; } else { $GLOBALS['TYPO3_CONF_VARS']['SYS']['t3lib_cs_utils'] = ''; - /// And this directoy must exist to allow Typo to cache conversion - /// tables when using internal functions - make_upload_directory('temp/typo3temp/cs'); } +/// And this directory must exist to allow Typo to cache conversion +/// tables when using internal functions + make_upload_directory('temp/typo3temp/cs'); + /// Default mask for Typo $GLOBALS['TYPO3_CONF_VARS']['BE']['fileCreateMask'] = $CFG->directorypermissions; -- 2.39.5