Cleanup: Initialize array properly in t3lib_install
authorOliver Hader <oliver.hader@typo3.org>
Sat, 28 Nov 2009 19:02:21 +0000 (19:02 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Sat, 28 Nov 2009 19:02:21 +0000 (19:02 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6571 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_install.php

index 231e4d9..096033c 100644 (file)
@@ -203,6 +203,7 @@ class t3lib_install {
         */
        function writeToLocalconf_control($inlines='',$absFullPath='')  {
                $tmpExt = '.TMP.php';
+               $writeToLocalconf_dat = array();
                $writeToLocalconf_dat['file'] = $absFullPath ? $absFullPath : PATH_typo3conf.'localconf.php';
                $writeToLocalconf_dat['tmpfile'] = $writeToLocalconf_dat['file'].$tmpExt;