forked from b13/geocoding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
28 lines (24 loc) · 1.01 KB
/
ext_tables.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
// compatibility for 4.5
if (class_exists(t3lib_utility_VersionNumber)) {
if (t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version)
< '4006000') {
if (TYPO3_MODE == 'BE') {
// register the cache in BE so it will be cleared with "clear all caches"
try {
t3lib_cache::initializeCachingFramework();
// State cache
$GLOBALS['typo3CacheFactory']->create(
'tx_geocoding',
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['tx_geocoding']['frontend'],
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['tx_geocoding']['backend'],
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['tx_geocoding']['options']
);
} catch (t3lib_cache_exception_NoSuchCache $exception) {
}
}
}
}