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

private.png does not work after update
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=2931
Page 1 of 1

Author:  twg_2011 [ 24. Mar 2011, 16:57 ]
Post subject:  private.png does not work after update

Hi,

I have updated my version TWG version 1.7.8.1 to version TWG 1.8.4 via patch script.
Now the picture for my password protected folders are not shown anymore.
It is 120x120 and the name is private.png.

I set $autogenerate_private_png = false; but it did not help.

The source code looks fine:
Code:
src='pictures/001___abcdefg/private.png'


In the pictures/001___abcdefg/ folder is a htaccess file with "deny from all" (as described in the documentation).

Any ideas?

bye

Author:  TinyWebGallery [ 25. Mar 2011, 10:31 ]
Post subject:  Re: private.png does not work after update

yes - the new default is the TWG does link directly to folder.png and private.png.
I have made some tests and the server load decreases a lot because no php instance has to be started.

If you don't want to allow direct access you can set
$direct_folderpng=false;
again. This was the default before.

Best,
Michael

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