Bug #23709 ยป 15966.diff
typo3/backend.php (working copy) | ||
---|---|---|
protected $toolbarItems;
|
||
private $menuWidthDefault = 190; // intentionally private as nobody should modify defaults
|
||
protected $menuWidth;
|
||
protected $debug;
|
||
/**
|
||
* Object for loading backend modules
|
||
... | ... | |
* @return void
|
||
*/
|
||
public function __construct() {
|
||
// set debug flag for BE development only
|
||
$this->debug = intval($GLOBALS['TYPO3_CONF_VARS']['BE']['debug']) > 0;
|
||
// Initializes the backend modules structure for use later.
|
||
$this->moduleLoader = t3lib_div::makeInstance('t3lib_loadModules');
|
||
... | ... | |
'js/extjs/viewportConfiguration.js',
|
||
);
|
||
if ($this->debug) {
|
||
unset($this->jsFiles['js/loginrefresh.js']);
|
||
}
|
||
// add default BE css
|
||
$this->css = '';
|
||
$this->cssFiles = array();
|
typo3/template.php (working copy) | ||
---|---|---|
$this->pageRenderer->enableCompressCss();
|
||
$this->pageRenderer->enableCompressJavascript();
|
||
}
|
||
if (intval($GLOBALS['TYPO3_CONF_VARS']['BE']['debug']) > 0) {
|
||
$this->pageRenderer->enableDebugMode();
|
||
}
|
||
return $this->pageRenderer;
|
||
}
|
||