Mercurial > hg > mgallery
changeset 282:d458ec179c87
Cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 16 May 2019 23:09:17 +0300 |
parents | cec96665993a |
children | 1bcaab2d3e6a |
files | mgtool.php |
diffstat | 1 files changed, 19 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/mgtool.php Thu May 16 23:08:39 2019 +0300 +++ b/mgtool.php Thu May 16 23:09:17 2019 +0300 @@ -9,6 +9,25 @@ require_once "mgallery.inc.php"; // +// Operating modes and update flags +// +define("GCMD_UPDATE" , 1); +define("GCMD_RESCAN" , 2); +define("GCMD_CLEAN" , 3); + +define("GCLEAN_CACHES" , 0x01); +define("GCLEAN_IMAGES" , 0x02); +define("GCLEAN_TRASH" , 0x04); +define("GCLEAN_ALL" , 0x0f); + +define("GUPD_MED_IMAGE" , 0x01); +define("GUPD_TN_IMAGE" , 0x02); +define("GUPD_IMAGES" , 0x0f); +define("GUPD_EXIF_INFO" , 0x10); +define("GUPD_CAPTION" , 0x20); + + +// // Array for specifying what will be copied and converted // from the image file's EXIF information tag(s). // @@ -31,23 +50,6 @@ ]; -// -// Operating modes and update flags -// -define("GCMD_UPDATE" , 1); -define("GCMD_RESCAN" , 2); -define("GCMD_CLEAN" , 3); - -define("GCLEAN_CACHES" , 0x01); -define("GCLEAN_IMAGES" , 0x02); -define("GCLEAN_TRASH" , 0x04); -define("GCLEAN_ALL" , 0x0f); - -define("GUPD_MED_IMAGE" , 0x01); -define("GUPD_TN_IMAGE" , 0x02); -define("GUPD_IMAGES" , 0x0f); -define("GUPD_EXIF_INFO" , 0x10); -define("GUPD_CAPTION" , 0x20); //