[TYPO3-dev] Refresh-Bug in 4.2 Rev.2775 ?

Steffen Kamper steffen at sk-typo3.de
Tue Nov 27 13:44:09 CET 2007


"Dmitry Dulepov [typo3]" <dmitry at typo3.org> schrieb im Newsbeitrag 
news:mailman.1.1196167034.17578.typo3-dev at lists.netfielders.de...
> Hi!
>
> Steffen Kamper wrote:
>> Do you have cal installed? In TCA there is a creation of a BE_USER-Object 
>> if it's not available, and the reason for that is the loading order in 
>> index.
>
> In TCA??? TCA is an array of fields of primitive types.
>
> -- 
> Dmitry Dulepov
> TYPO3 core team
> Web: http://typo3bloke.net/
> Skype: callto:liels_bugs
sorry my abbr. - in TCA means TCA-configuration in tca.php.

if(!is_object($GLOBALS['BE_USER']))  {
        define('TYPO3_PROCEED_IF_NO_USER', true);  //patch for crawler
        $GLOBALS['BE_USER'] = t3lib_div::makeInstance('t3lib_beUserAuth'); 
// New backend user object
        $GLOBALS['BE_USER']->start();   // Object is initialized
        $GLOBALS['BE_USER']->backendCheckLogin(); // Checking if there's a 
user logged in
        define('TYPO3_PROCEED_IF_NO_USER', false);
    }

this is needed to add access control for be_users and be_groups (calendars 
and categories)

vg  Steffen 






More information about the TYPO3-dev mailing list