Subdirectories bug?

First of all thanks for great script! I greated subdirectori for gallery to my domain like www.domain.com/pictures and there is only 1 gallery in there... but i have folders with another index.php file in www.domain.com/admin and www.domain.com/test. Gallery puts somehow those directories to the menu in bottom (links are www.domain.com/admin/index.php? and www.domain.com/test/index.php?) but those directories are not related with gallery... Sorry my poor english.. i hope u understand me ps. is there a way to put on top thumbnails simple navigation menu < last picture and next picture >

Post edited by pyro, at 2005/11/08 1000

Re:Subdirectories bug?

thanks for your answer, now i understand it and it works greatwoohoo

Re:Subdirectories bug?

Hi,

EasyPhpAlbum checks for the presence of an index.php file + images in any subdireectory, if this is found it will become an 'album'.

It also checks for directories with index.php files one level up, these are also considered 'albums'.

If you have other PHP applications on your website using index.php files, then the easiest method of preventing them from appearing in the menu is to create one additional directory for your gallery so

Old

[htdocs]
..[gallery]
-index.php

New

[htdocs]
..[gallery]
../..[albums]
-index.php

You can edit the text in the section '// Forward backward browsing' to get text instead of '>' or '<'Post edited by admin, at 2005/11/09 1513