[TASK] Move local driver configuration file to EXT:core
authorAndreas Wolf <andreas.wolf@typo3.org>
Wed, 3 Oct 2012 14:58:02 +0000 (16:58 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 8 Oct 2012 18:17:22 +0000 (20:17 +0200)
The configuration file for FAL's local driver was still placed in
t3lib/. This commit moves it to the more appropriate directory
Configuration/Resource/Driver in EXT:core.

Resolves: #40235
Releases: 6.0
Change-Id: I2bcc7d39cfea2ec84733eba7770b26467465a291
Reviewed-on: http://review.typo3.org/15259
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
t3lib/file/Driver/Configuration/LocalDriverFlexForm.xml [deleted file]
t3lib/stddb/DefaultConfiguration.php
typo3/sysext/core/Configuration/Resource/Driver/LocalDriverFlexForm.xml [new file with mode: 0644]

diff --git a/t3lib/file/Driver/Configuration/LocalDriverFlexForm.xml b/t3lib/file/Driver/Configuration/LocalDriverFlexForm.xml
deleted file mode 100644 (file)
index 04cfafd..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<T3DataStructure>
-       <meta>
-               <langDisable>1</langDisable>
-       </meta>
-       <ROOT>
-               <type>array</type>
-               <el>
-                       <basePath>
-                               <TCEforms>
-                                       <label>LLL:EXT:lang/locallang_mod_file_list.xlf:localDriverFlexform_basePath</label>
-                                       <config>
-                                               <type>input</type>
-                                               <default>fileadmin/</default>
-                                               <size>30</size>
-                                       </config>
-                               </TCEforms>
-                       </basePath>
-                       <pathType>
-                               <TCEforms>
-                                       <label>LLL:EXT:lang/locallang_mod_file_list.xlf:localDriverFlexform_pathType</label>
-                                       <config>
-                                               <type>radio</type>
-                                               <items type="array">
-                                                       <numIndex index="0" type="array">
-                                                               <numIndex index="0">LLL:EXT:lang/locallang_mod_file_list.xlf:localDriverFlexform_pathType_relative</numIndex>
-                                                               <numIndex index="1">relative</numIndex>
-                                                       </numIndex>
-                                                       <numIndex index="1" type="array">
-                                                               <numIndex index="0">LLL:EXT:lang/locallang_mod_file_list.xlf:localDriverFlexform_pathType_absolute</numIndex>
-                                                               <numIndex index="1">absolute</numIndex>
-                                                       </numIndex>
-                                               </items>
-                                               <default>relative</default>
-                                       </config>
-                               </TCEforms>
-                       </pathType>
-               </el>
-       </ROOT>
-</T3DataStructure>
\ No newline at end of file
index 9c83541..da81d16 100644 (file)
@@ -196,7 +196,7 @@ return array(
                                'Local' => array(
                                        'class' => 'TYPO3\\CMS\\Core\\Resource\\Driver\\LocalDriver',
                                        'shortName' => 'Local',
-                                       'flexFormDS' => 'FILE:t3lib/file/Driver/Configuration/LocalDriverFlexForm.xml',
+                                       'flexFormDS' => 'FILE:EXT:core/Configuration/Resource/Driver/LocalDriverFlexForm.xml',
                                        'label' => 'Local filesystem'
                                )
                        ),
diff --git a/typo3/sysext/core/Configuration/Resource/Driver/LocalDriverFlexForm.xml b/typo3/sysext/core/Configuration/Resource/Driver/LocalDriverFlexForm.xml
new file mode 100644 (file)
index 0000000..04cfafd
--- /dev/null
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<T3DataStructure>
+       <meta>
+               <langDisable>1</langDisable>
+       </meta>
+       <ROOT>
+               <type>array</type>
+               <el>
+                       <basePath>
+                               <TCEforms>
+                                       <label>LLL:EXT:lang/locallang_mod_file_list.xlf:localDriverFlexform_basePath</label>
+                                       <config>
+                                               <type>input</type>
+                                               <default>fileadmin/</default>
+                                               <size>30</size>
+                                       </config>
+                               </TCEforms>
+                       </basePath>
+                       <pathType>
+                               <TCEforms>
+                                       <label>LLL:EXT:lang/locallang_mod_file_list.xlf:localDriverFlexform_pathType</label>
+                                       <config>
+                                               <type>radio</type>
+                                               <items type="array">
+                                                       <numIndex index="0" type="array">
+                                                               <numIndex index="0">LLL:EXT:lang/locallang_mod_file_list.xlf:localDriverFlexform_pathType_relative</numIndex>
+                                                               <numIndex index="1">relative</numIndex>
+                                                       </numIndex>
+                                                       <numIndex index="1" type="array">
+                                                               <numIndex index="0">LLL:EXT:lang/locallang_mod_file_list.xlf:localDriverFlexform_pathType_absolute</numIndex>
+                                                               <numIndex index="1">absolute</numIndex>
+                                                       </numIndex>
+                                               </items>
+                                               <default>relative</default>
+                                       </config>
+                               </TCEforms>
+                       </pathType>
+               </el>
+       </ROOT>
+</T3DataStructure>
\ No newline at end of file