Project

General

Profile

Actions

Feature #22968

closed

Add a systemwide exclude pattern for t3lib_div::get_dirs() (eg. for .svn directories)

Added by Caspar Stuebs over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-06-23
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

At this moment the exclusion of any kind of directories has to be done in every function which uses directory listings.
But especially for subversion directories would be very useful to have a systemwide exclusion.

In my opinion this should be done by a TYPO3_CONF_VARS parameter (eg. $TYPO3_CONF_VARS['SYS']['directoryExclusion']) which should hold a regular expression for the directoy filter.

I have applied a patch, how I like to realise it.

If desired I will include this into the install tool also.
(issue imported from #M14829)


Files

t3lib_div_get_dirs_exclusion.patch (656 Bytes) t3lib_div_get_dirs_exclusion.patch Administrator Admin, 2010-06-23 11:21

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Feature #17378: Hide dotfiles such as .svn in filelistsClosed2007-06-12

Actions
Actions

Also available in: Atom PDF