Hi Piwigo coding team,
rvelices and laurent.duretz, in Piwigo 2.1, you modified the way [Administration > Configuration > Options > Main > Gallery URL] configuration setting was used. Now we set this parameter as empty by default.
1) is this parameter still useful? if yes, what for?
2) didn't this parameter become dangerous?
3) if we really want to keep it, I suggest we move it as a more "private" configuration setting (in configuration file for example)
Offline
Hi plg,
1) this parameter is usefull because it's the simpliest way to configure a page index out of the piwigo gallery
2) this parameter is as dangerous as other parameter in newbie's hands ;-)
3) if we move it in configuration file, we lost simplicity without mor security.
Last edited by laurent.duretz (2010-12-11 14:28:04)
Offline
I do not use it, so I let you decide what to do...
Offline
laurent.duretz wrote:
1) this parameter is usefull because it's the simpliest way to configure a page index out of the piwigo gallery
OK. For example, http://www.photos.tarrajat.fr is using it to force homepage on index.php instead of his specific index.html. I think it is a very very specific use that can be fixed by using a homepage with plugin Additional Pages.
laurent.duretz wrote:
2) this parameter is as dangerous as other parameter in newbie's hands ;-)
3) if we move it in configuration file, we lost simplicity without mor security.
I do not agree. This parameter is much more dangerous. Users think that by changing this URL, they will either get a new domain name or have their homepage elsewhere, this is just not true and misleading. Each time I see this parameter modified (with an exception for www.photos.tarrajat.fr) it breaks the gallery.
I think that moving this parameter to configuration file makes it more secure. Why? because modifying the configuration file is not "as easy" as modifying a field in the web interface, and the local configuration parameters becomes only for "advanced users".
The problem is that if we can't move the parameter from database to local configuration in a secure way with a migration task, because local/config/config.inc.php may not be writable by PHP.
Another solution is to add a $conf['configure_gallery_url'] = false in include/config_defaults which hides the "Gallery URL" field on [Administration > Configuration > Options > Main] but I think it's highly complicated for such a specific parameter...
Offline
[Bugtracker] ticket 2413, done. Will be in Piwigo 2.3.0RC1
Offline
I had a Gallery URL included in 2.2, upgraded to 2.3, and need to change the URL, but option isn't in the admin anywhere. What .php file is it in to change?
Keith wrote:
I had a Gallery URL included in 2.2, upgraded to 2.3, and need to change the URL, but option isn't in the admin anywhere. What .php file is it in to change?
Found it.
Hello,
I also need to change the URL. In which file did you find it?
Thanks.