Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
http://www.tinywebgallery.com/forum/

how to ignore certain picture folders?
http://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=213
Page 1 of 1

Author:  hank [ 14. Mar 2006, 01:30 ]
Post subject:  how to ignore certain picture folders?

Can someone tell me where I can add code to have TWG ignore certain folders? I want to exclude any folders named /_* from TWG view, but keep them in the /pictures folder.

hank

Author:  hank [ 14. Mar 2006, 01:42 ]
Post subject:  Found it.. (RTFM)

$exclude_directories=array("CVS","thumbs"); // new 1.4 - You can enter directories here that are ignored in TWG

Author:  Guest [ 14. Mar 2006, 01:51 ]
Post subject:  still shows ?

Okay, so I used $exclude_directories=array("CVS","thumbs","_vti_cnf"); // new 1.4 - You can enter directories here that are ignored in TWG

but the folder still shows up in TWG. Do I need to clear some cache?

Hank

Author:  Hank [ 14. Mar 2006, 03:45 ]
Post subject:  test results

TWG seems to be ignoring values in my_config.php? settings I make in config.php are applied. Those in my_config.php are ignored.

Any suggestions?

Hank

Author:  TinyWebGallery [ 14. Mar 2006, 11:31 ]
Post subject: 

Hi,

btw. the ignore parameter does not support any wildcards!

about the my_config.php - you have to use 1.4 to make this work.
check your config.php at the end - the my_config.php is simply included.

and therefore the setting simply overwritten.

just tested the exlude for the subfolders again- works fine too.

have you checked if upper and lower case is o.k.

/Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/