forked from RauchF/OpenWeatherMap-PHP-Api-Service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
27 lines (25 loc) · 942 Bytes
/
ext_localconf.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
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
if (!is_array($TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['openweathermap_php_api_service'])) {
$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['openweathermap_php_api_service'] = array();
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
$_EXTKEY,
'openweathermap_php_api',
'tx_openweathermap_php_api_service',
array (
'title' => 'OpenWeatherMap PHP Api for TYPO3',
'description' => '',
'subtype' => '',
'available' => true,
'priority' => 50,
'quality' => 50,
'os' => '',
'exec' => '',
'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) .
'Classes/Service/OpenweathermapPhpApiService.php',
'className' => 'RauchF\OpenweathermapPhpApiService\Service\OpenweathermapPhpApiService',
)
);