Permalink
Browse files

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 <luke@catalyst.net.nz>
  • Loading branch information...
1 parent 81b65d5 commit e22ebd9267230dc0c86104ca5e02767752936cde martinlanghoff committed Oct 31, 2006
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/textlib.class.php
View
@@ -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;

0 comments on commit e22ebd9

Please sign in to comment.