#1 2009-04-15 01:15:26

worwan
Member
2008-06-16
21

how to ignore some directories

Hi,

I would like to use piwigo as our primary gallery. But pictures are uploaded to the server by webdav..and that creates .DAV directories in gallery dirs.

But I definitely dont want to create .DAV categories. Is there any way how to tell piwigo to ignore these dirs while syncing??

Thanks!

worwan

Offline

 

#2 2009-04-15 01:39:24

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13877

Re: how to ignore some directories

There is no configuration setting for this, you'll have to "hard code" it (and create a feature request in the bugtracker).

In admin/include/functions.php, function get_fs_directories, after:

Code:

and $node != '.svn'

add

Code:

and $node != '.DAV'

I think it should be enough. If you still have problems, change also the get_elements function in admin/site_reader_local.php

Offline

 

#3 2009-04-15 08:55:08

worwan
Member
2008-06-16
21

Re: how to ignore some directories

thank you!

I have filled feture..

Offline

 

Board footer

Powered by FluxBB

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