Project

General

Profile

Bug #21285 ยป fyi12249.diff

Administrator Admin, 2009-10-16 09:40

View differences:

typo3/sysext/sv/ext_tables.php (working copy)
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
// normal services should be added here
if (TYPO3_MODE == 'BE') {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['sv']['services'] = array(
'title' => 'LLL:EXT:sv/reports/locallang.xml:report_title',
typo3/sysext/sv/ext_localconf.php (working copy)
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
// auth services needs to be added here. ext_tables.php will be read after authentication.
// Register base authentication service
t3lib_extMgm::addService($_EXTKEY, 'auth' /* sv type */, 'tx_sv_auth' /* sv key */,
array(
......
)
);
// Add hooks to the backend login form
// Add hooks to the backend login form
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:tx_sv_loginformhook->getLoginFormTag';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginScriptHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:tx_sv_loginformhook->getLoginScripts';
    (1-1/1)