Project

General

Profile

Feature #20658 » follow-#11391 -4.2.diff

Administrator Admin, 2009-07-02 22:47

View differences:

index.php (working copy)
$scriptUser = $this->getRealScriptUserObj();
$scriptUser->modAccess($this->MCONF,1); // ... and checking module access for the logged in user.
$this->isAdmin = $scriptUser->isAdmin();
// Getting the 'override' values as set might be set in User TSconfig
$this->overrideConf = $BE_USER->getTSConfigProp('setup.override');
// Create instance of object for output of data
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
(2-2/3)