diff mgallery.inc.php @ 17:3f7bc4202df3

Add new configuration setting 'cover_images' to disable/enable sub-album cover images.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 14 Sep 2015 12:29:09 +0300
parents c9fad00199f9
children 59075f5e7a62
line wrap: on
line diff
--- a/mgallery.inc.php	Mon Sep 14 10:57:10 2015 +0300
+++ b/mgallery.inc.php	Mon Sep 14 12:29:09 2015 +0300
@@ -58,6 +58,7 @@
   "info_file"        => array(MG_STR, "gallery.info"),
   "cache_file"       => array(MG_STR, ".mgallery.cache"),
 
+  "cover_images"     => array(MG_BOOL, TRUE),
   "clean_urls"       => array(MG_BOOL, FALSE),
 
   "title_prefix"     => array(MG_STR, ""),