Fixed bug #13199: fileadminDir is hardcoded in several places (Thanks to Susanne...
authorXavier Perseguers <typo3@perseguers.ch>
Sat, 16 Jan 2010 14:32:35 +0000 (14:32 +0000)
committerXavier Perseguers <typo3@perseguers.ch>
Sat, 16 Jan 2010 14:32:35 +0000 (14:32 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/dbal/trunk@28898 735d13b6-9817-0410-8766-e36946ffe9aa

typo3/sysext/dbal/ChangeLog
typo3/sysext/dbal/handlers/class.tx_dbal_handler_openoffice.php

index 0c3286a..b6cac95 100644 (file)
@@ -1,3 +1,7 @@
+2010-01-14  Steffen Kamper  <info@sk-typo3.de>
+
+       * Fixed bug #13199: fileadminDir is hardcoded in several places (Thanks to Susanne Moog)
+
 2010-01-08  Xavier Perseguers  <typo3@perseguers.ch>
 
        * Updated copyright year
index 43f6de5..c81aadc 100644 (file)
@@ -134,7 +134,7 @@ class tx_dbal_handler_openoffice extends tx_dbal_sqlengine {
                $this->unzip->putFileToArchive('content.xml', $content_xml['content']);
 
                        // Writing ZIP content back to zip-archive file:
-               $result = $this->unzip->compileZipFile('fileadmin/dbtest_output.sxc');
+               $result = $this->unzip->compileZipFile($GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] . 'dbtest_output.sxc');
 
                debug($result);