Announcement

#1 2011-05-13 20:56:00

fs101299
Translation Team
2011-05-13
1

excluding directories from thumbnaili, e.g.: .thumbs or .AppleDouble

Hello,

how is piwigo to configure, to exclude some special directories in the picture folders from thumbnailing and synchronisation.
There are hidden directories, automatic created from my Apple Mac Mini or from my SM Windows PC.

There are sxclude statements in the function get_dirs($directory) in the include functions.inc.php, e.g..: for .svn directories.

if ($file != '.'
          and $file != '..'
          and is_dir($directory.'/'.$file)
          and $file != '.svn')

I've added my directories to this function, but it seems that this wouldn't be used from the thumbnailing and synchronisation function.

Now I'm interested, how to exclude directories from scanning. In which function can this be added?

Thanks
Frank

Offline

 

#2 2012-04-28 23:24:49

Visitor
Guest

Re: excluding directories from thumbnaili, e.g.: .thumbs or .AppleDouble

You have to modify admin/include/functions.php
Bye

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact