forked from TYPO3-svn-archive/cleartypo3cache
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_localconf.php
More file actions
19 lines (17 loc) · 890 Bytes
/
ext_localconf.php
File metadata and controls
19 lines (17 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
global $TYPO3_CONF_VARS, $_EXTKEY;
if (TYPO3_MODE == 'BE') {
## Setting up script that can be run through cli_dispatch.phpsh
$TYPO3_CONF_VARS['SC_OPTIONS']['GLOBAL']['cliKeys'][$_EXTKEY] = array(
'EXT:' . $_EXTKEY . '/cli/class.tx_cleartypo3cache_cli_cli.php',
'_CLI_cleartypo3cache'
);
// Setup for the scheduler
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_cleartypo3cache_tasks_clearCache'] = array(
'extension' => $_EXTKEY,
'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:cleartypo3cache_task_clearCache.name',
'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:cleartypo3cache_task_clearCache.description',
'additionalFields' => 'tx_cleartypo3cache_tasks_clearCache_AdditionalFieldProvider'
);
}