コード例 #1
0
 * 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_MODE')) {
    die('Access denied.');
}
// Register Caretaker Services
if (t3lib_extMgm::isLoaded('caretaker')) {
    include_once t3lib_extMgm::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_FindBlacklistedBePassword', 'TYPO3 -> Check be-password blacklist', 'Find backend user accounts with blacklisted passwords.');
    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');
}
コード例 #2
0
 * 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_MODE')) {
    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_FindBlacklistedBePassword', 'TYPO3 -> Check be-password blacklist', 'Find backend user accounts with blacklisted passwords.');
    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');
}