9 Commits
Author SHA1 Message Date
Eike Rathke a665efb4e0 Fix typo in description for php_extension_in_urls, false vs true
Obviously the default is true for with .php extension and if false
without.
2023-08-08 10:44:53 +02:00
Eike Rathke 7ecf80d4e9 Check function_exists('mime_content_type') before calling
mime_content_type() is in the fileinfo extension that may not be
installed or configured. It's also checked in action.php

See https://piwigo.org/forum/viewtopic.php?id=32327
2023-08-08 10:43:58 +02:00
Eike Rathke 5c0057aa0e Add $conf['sync_chars_regex'] comment about allowed characters (#1269) 2022-07-23 16:47:11 +02:00
Eike Rathke 8889f7ffef issue #1575 PHP 8 compatibility, check for object type
* by using $response instanceof PwgError instead of get_class()
2022-07-21 17:27:37 +02:00
Eike Rathke 8fbc17c392 Add last calculated cache size to Dashboard Storage chart (#1580)
issue #1580 Add last calculated cache size to Dashboard Storage chart

Size of cached files with all derivatives and representatives may be
as large as all image files, actually doubling the needed storage
size. So it may be nice to see it represented in the storage
chart, if one remembers to occasionally recalculate it under
Tools -> Maintenance..

Also make it possible to deactivate this setting.
2022-07-20 16:18:25 +02:00
Eike Rathke dd44d0e409 Further flush before download, #1297 follow-up
See
https://github.com/Piwigo/Piwigo/commit/db65aa51d52ec2b4bd00b2f7835770779b19579c#commitcomment-67982862
that confirms this works better.
2022-07-19 19:21:30 +02:00
Eike Rathke 40a127424e Include PHPMailer Exception in pwg_mail()
Otherwise if an exception is to be thrown it results in
Fatal error: Uncaught Error: Class 'PHPMailer\PHPMailer\Exception' not found
See https://piwigo.org/forum/viewtopic.php?id=31942
2022-07-06 11:34:40 +02:00
Eike Rathke a36a84fef6 Escape rank column name as rank
Reported in
https://piwigo.org/forum/viewtopic.php?pid=181750#p181750
2021-10-26 10:09:42 +02:00
Eike Rathke a8381737bd fix #367 - do not specialize numeric tag to 'id-tag' URL
Apparently there is no reason in make_section_in_url() to "escape" a
numeric URL for a tags section if tag_url_style is 'tag'. In
parse_section_url() tag_url_style is checked, and if 'tag' the URL token
is used.
2015-11-08 20:06:01 +01:00