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

Bug in TWG mobile view
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=3893
Page 1 of 1

Author:  Niggy [ 1. Jul 2015, 14:54 ]
Post subject:  Bug in TWG mobile view

Hi,

I updated TWG recently from 1.8.9 to 2.3.3 and since then, all browsers with a "mobile" USER AGENT cannot login anymore. The message "Function is not enabled or direct or not authorized access is not allowed" was shown and no further action was possible.

I think I found the bug in setspecials.inc.php (header [...] TWG version: 2.3.3 | $Date: 2007-02-16 09:17:41 +0100 (Fr, 16 Feb 2007) $ | $Revision: 41 $) in line 59:

Code:
--- setspecials.inc.php   Wed Jul 01 14:20:38 2015
+++ setspecials.inc.php   Wed Jul 01 14:20:45 2015
@@ -56,7 +56,7 @@
     $thumbnails_y = $twg_mobile_thumbnails_y;
     $show_breadcrumb = $twg_mobile_show_breadcrumb;
     $show_search = $show_enhanced_file_infos = $show_help_link = $show_optionen = $show_tags = $show_new_window = $twg_mobile_show_menu_items;
-    $show_login = $twg_mobile_show_menu_items;
+    $show_login = $twg_mobile_show_login;
     $album_tree_default_open != $twg_mobile_show_menu_items;
     $show_image_rating = $twg_mobile_show_rating;
     $show_comments = $twg_mobile_show_comments;


Please consider this in further updates and keep going in devoping this nice peace of software.


Thanks in advance,
Niggy

Author:  TinyWebGallery [ 5. Jul 2015, 22:39 ]
Post subject:  Re: Bug in TWG mobile view

You are right. I'll update this in the next update.

Best, Michael

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