Commit 77d45c12 authored by Ingmar Schlecht's avatar Ingmar Schlecht
Browse files

Fixed minor bug #0000728 in t3lib_modsettings::init()


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@548 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 837853b7
2004-02-02 Ingmar Schlecht <ingmar@typo3.org>
* Fixed bug #0000728: "Enabling DevLog in t3lib_modsettings via SC_OPTIONS does not work." Reason: t3lib_modsettings::init() used $TYPO3_CONF_VARS although the global var was not available there. Changed it to $GLOBALS['TYPO3_CONF_VARS'].
2004-02-01 Ingmar Schlecht <ingmar@typo3.org>
* Committed patches by Peter Klein <peter at umloud.dk> implementing the IESelectFix for xmenu_layers.php: A fix that makes the layer menus display correctly on IE when over a <SELECT> box.
......
......@@ -184,7 +184,7 @@ class t3lib_modSettings {
$this->type = 'perm';
// enable dev logging if set
if ($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_modSettings.php']['writeDevLog']) $this->writeDevLog = TRUE;
if ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_modSettings.php']['writeDevLog']) $this->writeDevLog = TRUE;
if (TYPO3_DLOG) $this->writeDevLog = TRUE;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment