X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_index.php;h=3b70e7c7ddd40f9c95b6c56ff51b2eecb2062b92;hp=2d599268e7a88722f0c54b474ac9d30f24a94754;hb=9acc365249b5e630da6b5cdd23e3a8015f39ddc7;hpb=0feade23ffa41ac299b252a93be4da11bc2a16b7 diff --git a/inc/templates_index.php b/inc/templates_index.php index 2d59926..3b70e7c 100644 --- a/inc/templates_index.php +++ b/inc/templates_index.php @@ -11,13 +11,34 @@ try { } $bbox = $connection->mbr (); +if (defined ("THUMBSMAXSIZE") && (THUMBSMAXSIZE > 0)) { + $thumbsmaxsize = THUMBSMAXSIZE; +} else { + $thumbsmaxsize = 400; // default value; +} ?> <?php echo defined ("SITETITLE") ? SITETITLE : "SYP"?> + +