Commit Graph

7 Commits

Author SHA1 Message Date
Renarde-dev
0fe5006085 Replace double quotes (") by simple quotes (') 2025-09-05 13:25:07 +02:00
Renarde-dev
dc86f2be5c Detect if piwigo is running in a container
Append info on PHP_OS in the template of `admin/maintenance_env.php` and in `include/functions.inc.php` -> `send_piwigo_infos()`

Detection works by checking if PHP is running on Linux then check if PID2 is kthreadd
Kthreadd is useless in a container so PID2 should not exist of be another process
If unable to read /proc/2/sched for some reason, assume a SELinux restriction and that PHP is not running in a container

`is_in_container()` doesn't differentiate between VMs or bare metal, it only check if PHP is running in a containerized environement via tools like docker/podman/....
2025-09-05 11:50:27 +02:00
plegall
71cd92c04d fixes #2166 add feature to send anonymous stats to piwigo.org 2024-06-10 21:32:04 +02:00
Matthieu Leproux
450b99a2a4 fixed #1758 added link to update page after update check 2022-10-19 14:31:47 +02:00
plegall
870f1a8129 issue #1707 display Piwigo age on maintenance page instead of dashboard 2022-08-19 11:18:57 +02:00
Matthieu Leproux
286e8ad5b1 related to #1316 Calculates cache size and cache size derivatives 2021-07-07 18:14:00 +02:00
Louis
fb683b7517 #1264 tab layout
adding tab layout, css and classes for the page
2021-06-22 14:28:55 +02:00