[TYPO3-dev] ExtManager: ignoring files in CVS and .svn subdirectories of an extension

Dmitry Dulepov typo3 at accio.lv
Thu Jul 13 09:23:07 CEST 2006


Hi!

Stefan Geith wrote:
> I changed in class.t3lib_div.php in the function
>    function getAllFilesAndFoldersInPath(...)
> the line
>    if ((string)$subdirs!='') {
> to
>    if ((string)$subdirs!='' && (string)$subdirs!='.svn') {
> 
> That does the job.
> 
> May be the right way would be to use a
> $TYPO3_CONF_VARS[...]-Value for all
> Directory names to be suppresed.
> Preset could be '.svn,.cvs'.
> 
> I would like to see this in 4.01 ... ;)

t3lib_div is not a right place for this. It is specific to EM, so it 
should be done in EM.

Dmitry.
-- 
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)




More information about the TYPO3-dev mailing list