forked from TYPO3-Caretaker/caretaker_instance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_conf_include.php
54 lines (52 loc) · 3.59 KB
/
ext_conf_include.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/***************************************************************
* Copyright notice
*
* (c) 2009-2011 by n@work GmbH and networkteam GmbH
*
* All rights reserved
*
* This script is part of the Caretaker project. The Caretaker project
* is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* This is a file of the caretaker project.
* http://forge.typo3.org/projects/show/extension-caretaker
*
* Project sponsored by:
* n@work GmbH - http://www.work.de
* networkteam GmbH - http://www.networkteam.com/
*
* $Id$
*/
if (!defined('TYPO3')) {
die('Access denied.');
}
// Register Caretaker Services
if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('caretaker')) {
include_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('caretaker_instance') . 'classes/class.tx_caretakerinstance_ServiceHelper.php');
tx_caretakerinstance_ServiceHelper::registerCaretakerTestService($_EXTKEY, 'services', 'tx_caretakerinstance_Extension', 'TYPO3 -> Extension', 'Check for a specific Extension');
tx_caretakerinstance_ServiceHelper::registerCaretakerTestService($_EXTKEY, 'services', 'tx_caretakerinstance_TYPO3Version', 'TYPO3 -> Version', 'Check for the TYPO3 version');
tx_caretakerinstance_ServiceHelper::registerCaretakerTestService($_EXTKEY, 'services', 'tx_caretakerinstance_FindInsecureExtension', 'TYPO3 -> Find insecure Extensions', 'Find Extensions wich are marked insecure in TER');
tx_caretakerinstance_ServiceHelper::registerCaretakerTestService($_EXTKEY, 'services', 'tx_caretakerinstance_FindExtensionUpdates', 'TYPO3 -> Find Extension Updates', 'Find available Updates for installed Extensions');
tx_caretakerinstance_ServiceHelper::registerCaretakerTestService($_EXTKEY, 'services', 'tx_caretakerinstance_BackendUser', 'TYPO3 -> Check backend user accounts', 'Find unwanted backend user accounts');
tx_caretakerinstance_ServiceHelper::registerCaretakerTestService($_EXTKEY, 'services', 'tx_caretakerinstance_CheckConfVars', 'TYPO3 -> Check TYPO3_CONF_VARS', 'Check Settings of TYPO3_CONF_VARS');
tx_caretakerinstance_ServiceHelper::registerCaretakerTestService($_EXTKEY, 'services', 'tx_caretakerinstance_CheckPath', 'FILE -> Check path', 'Checks for some path stats');
tx_caretakerinstance_ServiceHelper::registerCaretakerTestService($_EXTKEY, 'services', 'tx_caretakerinstance_DiskSpace', 'Disk Space', 'Check for disk space');
tx_caretakerinstance_ServiceHelper::registerCaretakerTestService($_EXTKEY, 'services', 'tx_caretakerinstance_Reports', 'TYPO3 -> Reports', 'Check for TYPO3 Reports');
tx_caretakerinstance_ServiceHelper::registerCaretakerTestService($_EXTKEY, 'services', 'tx_caretakerinstance_BlacklistedRecords', 'TYPO3 -> Check blacklisted records', 'Find unwanted records');
tx_caretakerinstance_ServiceHelper::registerCaretakerTestService($_EXTKEY, 'services', 'tx_caretakerinstance_SchedulerFailures', 'TYPO3 -> Check scheduler failures', 'Scan for recent failures of scheduler tasks');
}