mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
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>
This commit is contained in:
parent
459e27f3a0
commit
e7812e9c62
1 changed files with 4 additions and 3 deletions
|
@ -46,10 +46,11 @@
|
|||
$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
|
||||
}
|
||||
|
||||
/// 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue