Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 25. Apr 2024, 06:15

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Syntax in config.php
PostPosted: 26. Dec 2006, 14:21 
Offline

Joined: 19. Sep 2006, 13:50
Posts: 20
Hello,
I have some questions to the syntax in the config files:

1.) For many entries the allowed values are "true" or "false".
For some entries there are 'FALSE'. "FALSE","TRUE",'TRUE'.
Is this the same ?

2.) Some ebtries are not right spelled:
$show_colage ->collage ?
$autodetect_noscoll ->scroll ?
$show_optionen ->options ?

Are this entries ok (perhaps for compatibility) ?

Thank you, Axel


Top
 Profile  
 
 Post subject:
PostPosted: 26. Dec 2006, 17:40 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
1. No not the same! I store variables in the session always as strings - there I use "TRUE" and "FALSE".

For other variables I use the boolean true and false.
Make sure to use the correct syntax.

I´m normally programming in Java and there you always store objects in the session.

2.
It´s because I´m german and started with mixing german and english in the beginning of twg: options = optionen. And I didn´t change that because otherwise your my_config.php would not be backward compatible.
and scroll I really missed the r - but this error is everywhere.

but maybe you are right and I should start fixing this - but not in 1.6 - this is stuff for the optimization release 1.7 ;) ...

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy